From 8bba5a75f04a8b34da57ed705334bd22088a0563 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 8 May 2012 10:11:47 -0400 Subject: [PATCH] * lisp/subr.el (defvar-local): Add debug spec and doc-string position. --- lisp/ChangeLog | 4 ++++ lisp/subr.el | 1 + 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce4103c89d6..a46a08b9a1c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-05-08 Stefan Monnier + + * subr.el (defvar-local): Add debug spec and doc-string position. + 2012-05-08 Glenn Morris * lisp/language/burmese.el, language/cham.el, language/czech.el: diff --git a/lisp/subr.el b/lisp/subr.el index 5d28b96cd7e..0166a3276a8 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -125,6 +125,7 @@ BODY should be a list of Lisp expressions. "Define VAR as a buffer-local variable with default value VAL. Like `defvar' but additionally marks the variable as being automatically buffer-local wherever it is set." + (declare (debug defvar) (doc-string 3)) ;; Can't use backquote here, it's too early in the bootstrap. (list 'progn (list 'defvar var val docstring) (list 'make-variable-buffer-local (list 'quote var)))) -- 2.39.2