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)
|
(setq-default bidi-display-reordering nil)
|
||||||
|
|
||||||
;;; Message
|
;;; Message
|
||||||
(add-hook 'message-mode-hook
|
(defun oni/message-mode-hook ()
|
||||||
(lambda ()
|
(turn-on-auto-fill)
|
||||||
(turn-on-auto-fill)
|
(turn-on-flyspell)
|
||||||
(turn-on-flyspell)))
|
(ispell-change-dictionary (read-string "New dictionary: ")))
|
||||||
|
|
||||||
|
(add-hook 'message-mode-hook 'oni/message-mode-hook)
|
||||||
|
|
||||||
;;; Gnus
|
;;; Gnus
|
||||||
(setq gnus-init-file "~/.emacs.d/gnus")
|
(setq gnus-init-file "~/.emacs.d/gnus")
|
||||||
|
|
Loading…
Reference in a new issue