summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-19 13:13:56 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-19 13:13:56 +0200
commit222a7a1a8afdf6921e5981133c605c2d695e9281 (patch)
tree35c1bcf2530f6a3ed38c3c9533edda608e5ba9c4 /lisp/emacs-lisp/checkdoc.el
parent4fdb150769ccbe7ad758edbc7661751590564655 (diff)
downloademacs-222a7a1a8afdf6921e5981133c605c2d695e9281.tar.gz
emacs-222a7a1a8afdf6921e5981133c605c2d695e9281.tar.bz2
emacs-222a7a1a8afdf6921e5981133c605c2d695e9281.zip
Flag checkdoc-symbol-words as a :safe variable
* lisp/emacs-lisp/checkdoc.el (checkdoc-symbol-words): Flag as a safe file local variable.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
-rw-r--r--lisp/emacs-lisp/checkdoc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 23c9c97fa0c..7b3c0689fbe 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -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)