enabled flyspell only is aspell is available
This commit is contained in:
parent
7cbb23e77e
commit
a9253bc967
1 changed files with 3 additions and 2 deletions
|
@ -198,8 +198,9 @@
|
|||
ispell-extra-args '("--sug-mode=ultra"))
|
||||
(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
|
||||
(put 'narrow-to-region 'disabled nil)
|
||||
|
|
Loading…
Reference in a new issue