From 2e4115165c85a94cfea87a97dd324bedc5dea9f6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 4 Feb 2018 22:15:07 -0500 Subject: Add flyspell-prog-mode to prog-mode-hook --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 1bf0817..12a6c5e 100644 --- a/init.el +++ b/init.el @@ -1772,7 +1772,8 @@ :diminish (flyspell-mode . "Fy") :config (setq flyspell-auto-correct-binding (kbd "C-c e ;")) - (define-key flyspell-mode-map (kbd "C-.") nil)) + (define-key flyspell-mode-map (kbd "C-.") nil) + (add-hook 'prog-mode-hook 'flyspell-prog-mode)) (use-package tex-site :mode ("\\.[tT]e[xX]\\'" . TeX-latex-mode) -- cgit v1.2.3