Add '-a' option to Man-switches.
--- a/.emacs-autogen.sh Mon Sep 05 11:31:35 2011 +0300
+++ b/.emacs-autogen.sh Wed Sep 07 14:10:42 2011 +0300
@@ -100,6 +100,15 @@
esac
}
+print_man() {
+ print_header
+ if man -a man >/dev/null 2>&1; then
+ echo '(setq Man-switches "-a")'
+ else
+ echo '(setq Man-switches "")'
+ fi
+}
+
# Remove old auto-generated config and fill it by standard header.
echo ";; -*- mode: emacs-lisp; coding: utf-8; fill-column: 78 -*-
;;
@@ -108,3 +117,5 @@
check_platform
check_speller >>$cfg
+print_speller >>$cfg
+