diff options
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1663,10 +1663,11 @@ (use-package flyspell :diminish (flyspell-mode . "Fy") + :init + (add-hook 'prog-mode-hook #'flyspell-prog-mode) :config (setq flyspell-auto-correct-binding (kbd "C-c e ;")) - (define-key flyspell-mode-map (kbd "C-.") nil) - (add-hook 'prog-mode-hook 'flyspell-prog-mode)) + (define-key flyspell-mode-map (kbd "C-.") nil)) (use-package tex-site :mode ("\\.[tT]e[xX]\\'" . TeX-latex-mode) |