Browse Source

enabled flyspell only is aspell is available

custom
Bozhidar Batsov 13 years ago
parent
commit
a9253bc967
  1. 5
      prelude/prelude-editor.el

5
prelude/prelude-editor.el

@ -198,8 +198,9 @@
ispell-extra-args '("--sug-mode=ultra")) ispell-extra-args '("--sug-mode=ultra"))
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
(add-hook 'message-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode)
(when (executable-find ispell-program-name)
(add-hook 'message-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode))
;; enable narrowing commands ;; enable narrowing commands
(put 'narrow-to-region 'disabled nil) (put 'narrow-to-region 'disabled nil)

Loading…
Cancel
Save