Set ispell dictionary to default as 'english' not found on Debian 5.0.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 29 Oct 2010 17:47:48 +0300
changeset 503 743de44a5431
parent 502 64a475fa36e2
child 504 dc4a9f76fdbf
Set ispell dictionary to default as 'english' not found on Debian 5.0.
.emacs-autogen.sh
--- a/.emacs-autogen.sh	Fri Oct 29 11:53:38 2010 +0300
+++ b/.emacs-autogen.sh	Fri Oct 29 17:47:48 2010 +0300
@@ -7,6 +7,8 @@
 
 cfg=$1
 
+rm -f $cfg
+
 if which aspell; then
   echo >>$cfg
   echo "(setq-default ispell-program-name \"aspell\")" >>$cfg
@@ -14,5 +16,5 @@
 elif which ispell; then
   echo >>$cfg
   echo "(setq-default ispell-program-name \"ispell\")" >>$cfg
-  echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
+  echo "(setq-default ispell-local-dictionary \"default\")" >>$cfg
 fi