]> git.eshelyaron.com Git - emacs.git/commitdiff
Flag checkdoc-symbol-words as a :safe variable
authorStefan Kangas <stefan@marxist.se>
Sun, 19 Sep 2021 11:13:56 +0000 (13:13 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 19 Sep 2021 11:13:56 +0000 (13:13 +0200)
* lisp/emacs-lisp/checkdoc.el (checkdoc-symbol-words): Flag as a safe
file local variable.

lisp/emacs-lisp/checkdoc.el

index 23c9c97fa0c50dbf74b06ecf322e60791b7ca91c..7b3c0689fbe39c2660a389cd6f0776d3d185d158 100644 (file)
@@ -320,6 +320,7 @@ with a universal argument.")
 These words are ignored when unquoted symbols are searched for.
 This should be set in an Emacs Lisp file's local variables."
   :type '(repeat (string :tag "Word"))
+  :safe #'listp
   :version "28.1")
 ;;;###autoload(put 'checkdoc-symbol-words 'safe-local-variable #'checkdoc-list-of-strings-p)