Re-scan buffer on dictionary change

master
Pierre Neidhardt 2018-07-12 17:39:14 +02:00
parent bccb6a2f88
commit f5f50bcecb
1 changed files with 3 additions and 0 deletions

View File

@ -381,4 +381,7 @@
(setq abbrev-file-name (expand-file-name "abbrev_defs" "~/personal"))
;; Re-scan buffer on dictionary change.
(advice-add 'ispell-change-dictionary :after (lambda (&rest _) (flyspell-buffer)))
(provide 'main)