summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-02-04 22:15:07 -0500
committerKyle Meyer <kyle@kyleam.com>2018-02-04 22:15:11 -0500
commit2e4115165c85a94cfea87a97dd324bedc5dea9f6 (patch)
tree5323175d8abefaf75e68665932b9d2af19db5807
parent27cbeef99f0e93a04aac0eae4eb79acd4921ce3b (diff)
downloademacs.d-2e4115165c85a94cfea87a97dd324bedc5dea9f6.tar.gz
Add flyspell-prog-mode to prog-mode-hook
-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)