Enable ERC spell mode only if prelude-flyspell
This commit is contained in:
parent
b24bea01bf
commit
c572d7cb8f
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@
|
||||||
(erc-truncate-mode +1)
|
(erc-truncate-mode +1)
|
||||||
|
|
||||||
;; enable spell checking
|
;; enable spell checking
|
||||||
(erc-spelling-mode 1)
|
(when prelude-flyspell
|
||||||
|
(erc-spelling-mode 1))
|
||||||
;; set different dictionaries by different servers/channels
|
;; set different dictionaries by different servers/channels
|
||||||
;;(setq erc-spelling-dictionaries '(("#emacs" "american")))
|
;;(setq erc-spelling-dictionaries '(("#emacs" "american")))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue