emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 51e8e77: * lisp/subr.el (setq-local): Add debug dec


From: Noam Postavsky
Subject: [Emacs-diffs] master 51e8e77: * lisp/subr.el (setq-local): Add debug declaration (Bug#27408).
Date: Sun, 25 Jun 2017 13:23:29 -0400 (EDT)

branch: master
commit 51e8e77d0f21356ebb1651bddc6f5f9291269f98
Author: Stefan-W. Hahn <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * lisp/subr.el (setq-local): Add debug declaration (Bug#27408).
    
    Copyright-paperwork-exempt: yes
---
 lisp/subr.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/subr.el b/lisp/subr.el
index ef00286..d0c8517 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]