Emacs spell checking

This commit is contained in:
Bob Mottram 2017-08-04 21:04:19 +01:00
parent 144fae7bae
commit 19c99e8d5a
1 changed files with 2 additions and 1 deletions

View File

@ -164,7 +164,7 @@ function remove_emacs {
}
function install_emacs {
apt-get -yq install emacs
apt-get -yq install emacs ispell ibritish ifrench ispanish iitalian irussian iswedish inorwegian iirish ingerman iswiss iogerman idutch idanish ibrazilian ibulgarian ipolish iczech iestonian ilithuanian iukrainian icatalan
update-alternatives --set editor /usr/bin/emacs
# A minimal emacs configuration
@ -274,6 +274,7 @@ function install_emacs {
echo "(dolist (hook '(text-mode-hook))" >> /home/$USERNAME/.emacs-mutt
echo ' (add-hook hook (lambda () (flyspell-mode 1))))' >> /home/$USERNAME/.emacs-mutt
echo '(setq-default fill-column 72)' >> /home/$USERNAME/.emacs-mutt
echo '(setq ispell-dictionary "british")' >> /home/$USERNAME/.emacs-mutt
echo '(setq auto-fill-mode 0)' >> /home/$USERNAME/.emacs-mutt
echo "(add-hook 'text-mode-hook 'turn-on-auto-fill)" >> /home/$USERNAME/.emacs-mutt
echo "(setq-default auto-fill-function 'do-auto-fill)" >> /home/$USERNAME/.emacs-mutt