chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afa496
)
el/dot-emacs.el: Don't turn on `flyspell-prog-mode' in text modes.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 10 Sep 2024 11:37:18 +0000
(12:37 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 10 Sep 2024 11:37:18 +0000
(12:37 +0100)
It has the result of inhibiting highlighting of misspellings outside
quoted text and comments, which is certainly not the intended effect.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 703d609a3dcebfcfbd6f24e4c4c8871f4cac2394..fddcf78e3530de243737e63d426d639128a48def 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-1777,7
+1777,8
@@
(defun mdw-misc-mode-config ()
(setq comment-column 40)
(auto-fill-mode 1)
(setq fill-column mdw-text-width)
- (flyspell-prog-mode)
+ (unless (derived-mode-p 'text-mode)
+ (flyspell-prog-mode))
(and (fboundp 'gtags-mode)
(gtags-mode))
(if (fboundp 'hs-minor-mode)