EMACS: Ask for ispell dictionary name when writing a mail message
This commit is contained in:
parent
27e9297a13
commit
27efcb33ec
1 changed files with 6 additions and 4 deletions
|
@ -149,10 +149,12 @@
|
|||
(setq-default bidi-display-reordering nil)
|
||||
|
||||
;;; Message
|
||||
(add-hook 'message-mode-hook
|
||||
(lambda ()
|
||||
(turn-on-auto-fill)
|
||||
(turn-on-flyspell)))
|
||||
(defun oni/message-mode-hook ()
|
||||
(turn-on-auto-fill)
|
||||
(turn-on-flyspell)
|
||||
(ispell-change-dictionary (read-string "New dictionary: ")))
|
||||
|
||||
(add-hook 'message-mode-hook 'oni/message-mode-hook)
|
||||
|
||||
;;; Gnus
|
||||
(setq gnus-init-file "~/.emacs.d/gnus")
|
||||
|
|
Loading…
Reference in a new issue