From ae3c7031ed7471900b0ae27eff4ccfb04fd7f597 Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Thu, 30 Nov 2023 22:50:29 -0800 Subject: [PATCH] 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. Do not merge to master. --- lisp/textmodes/ispell.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 48d48b07937..b71e85b0e37 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. -- 2.41.0