projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0042b7
)
* lisp/subr.el (setq-local): Add debug declaration (Bug#27408).
author
Stefan-W. Hahn
<stefan.hahn@s-hahn.de>
Sun, 18 Jun 2017 07:09:19 +0000
(09:09 +0200)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 25 Jun 2017 17:18:57 +0000
(13:18 -0400)
Copyright-paperwork-exempt: yes
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index ef00286b341a44760d78c9b002dcd7197bc3029d..d0c8517c54309c0f35bfafbba0cb6b37380209d9 100644
(file)
--- 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)