summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan-W. Hahn <stefan.hahn@s-hahn.de>2017-06-18 09:09:19 +0200
committerNoam Postavsky <npostavs@gmail.com>2017-06-25 13:18:57 -0400
commit51e8e77d0f21356ebb1651bddc6f5f9291269f98 (patch)
tree58e83268e7c2dc1a72030f8f49f818086389d42f /lisp/subr.el
parentb0042b7678c34396a18ad6c4277db7bb9e4bfaab (diff)
downloademacs-51e8e77d0f21356ebb1651bddc6f5f9291269f98.tar.gz
* lisp/subr.el (setq-local): Add debug declaration (Bug#27408).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index ef00286b341..d0c8517c543 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -121,6 +121,7 @@ BODY should be a list of Lisp expressions.
(defmacro setq-local (var val)
"Set variable VAR to value VAL in current buffer."
;; Can't use backquote here, it's too early in the bootstrap.
+ (declare (debug (symbolp form)))
(list 'set (list 'make-local-variable (list 'quote var)) val))
(defmacro defvar-local (var val &optional docstring)