From: Stefan-W. Hahn Date: Sun, 18 Jun 2017 07:09:19 +0000 (+0200) Subject: * lisp/subr.el (setq-local): Add debug declaration (Bug#27408). X-Git-Tag: emacs-26.0.90~521^2~11^2~47 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51e8e77d0f21356ebb1651bddc6f5f9291269f98;p=emacs.git * lisp/subr.el (setq-local): Add debug declaration (Bug#27408). Copyright-paperwork-exempt: yes --- 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)