diff options
author | Kyle Meyer <kyle@kyleam.com> | 2018-02-04 22:15:07 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2018-02-04 22:15:11 -0500 |
commit | 2e4115165c85a94cfea87a97dd324bedc5dea9f6 (patch) | |
tree | 5323175d8abefaf75e68665932b9d2af19db5807 | |
parent | 27cbeef99f0e93a04aac0eae4eb79acd4921ce3b (diff) | |
download | emacs.d-2e4115165c85a94cfea87a97dd324bedc5dea9f6.tar.gz |
Add flyspell-prog-mode to prog-mode-hook
-rw-r--r-- | init.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |