.emacs-autogen.sh
changeset 387 7340a863ae23
parent 386 3efe37437745
child 503 743de44a5431
--- a/.emacs-autogen.sh	Sun Apr 25 23:09:13 2010 +0300
+++ b/.emacs-autogen.sh	Mon Apr 26 17:04:33 2010 +0300
@@ -11,4 +11,8 @@
   echo >>$cfg
   echo "(setq-default ispell-program-name \"aspell\")" >>$cfg
   echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
+elif which ispell; then
+  echo >>$cfg
+  echo "(setq-default ispell-program-name \"ispell\")" >>$cfg
+  echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg
 fi