[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 09351df10a1: Make ispell localwords safe local variable
From: |
Eli Zaretskii |
Subject: |
master 09351df10a1: Make ispell localwords safe local variable |
Date: |
Sat, 26 Aug 2023 04:10:23 -0400 (EDT) |
branch: master
commit 09351df10a1041d58c7236484f96d6999bfe9cb0
Author: Joseph Turner <joseph@breatheoutbreathe.in>
Commit: Eli Zaretskii <eliz@gnu.org>
Make ispell localwords safe local variable
* 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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 97c4ce9f32d..c73f92aa0b3 100644
--- 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 09351df10a1: Make ispell localwords safe local variable,
Eli Zaretskii <=