projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5427ef2
)
Make ispell localwords safe local variable
author
Joseph Turner
<joseph@breatheoutbreathe.in>
Tue, 15 Aug 2023 05:35:28 +0000
(22:35 -0700)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 26 Aug 2023 08:09:34 +0000
(11:09 +0300)
* lisp/textmodes/ispell.el (ispell-buffer-session-localwords):
Make safe local variable to so that checkdoc can ignore words in a
project in batch mode.
lisp/textmodes/ispell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index 97c4ce9f32d8d596a084c3dfc093657cf237dd9a..c73f92aa0b382adde66fa370a67f60f2d8dd3345 100644
(file)
--- a/
lisp/textmodes/ispell.el
+++ b/
lisp/textmodes/ispell.el
@@
-1747,6
+1747,7
@@
Ispell is then restarted because the local words could conflict.")
(defvar-local ispell-buffer-session-localwords nil
"List of words accepted for session in this buffer.")
+(put 'ispell-buffer-session-localwords 'safe-local-variable #'list-of-strings-p)
(defvar ispell-parser 'use-mode-name
"Indicates whether ispell should parse the current buffer as TeX Code.