Fix default dictionary names.
--- a/.emacs-autogen.sh Tue Jan 04 23:51:10 2011 +0200
+++ b/.emacs-autogen.sh Tue Jan 04 23:55:13 2011 +0200
@@ -10,9 +10,13 @@
if command -v ispell; then
echo >>$cfg
echo "(setq-default ispell-program-name \"ispell\")" >>$cfg
- echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
+ if [ -e /etc/debian_version ]; then
+ echo "(setq-default ispell-local-dictionary \"british\")" >>$cfg
+ else
+ echo "(setq-default ispell-local-dictionary \"default\")" >>$cfg
+ fi
elif command -v aspell; then
echo >>$cfg
echo "(setq-default ispell-program-name \"aspell\")" >>$cfg
- echo "(setq-default ispell-local-dictionary \"default\")" >>$cfg
+ echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
fi