Enable ERC spell mode only if prelude-flyspell

This commit is contained in:
Swaroop C H 2015-03-15 20:04:32 -07:00
parent b24bea01bf
commit c572d7cb8f

View file

@ -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")))