# HG changeset patch # User Oleksandr Gavenko # Date 1294178113 -7200 # Node ID d2730823e23f59cf6ba14b8555c795d2e174b28c # Parent dfd8ec51803ac8e8b1f9498d3844c1a86b5adf0f Fix default dictionary names. diff -r dfd8ec51803a -r d2730823e23f .emacs-autogen.sh --- 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