summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
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)