]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (defvar-local): Add debug spec and doc-string position.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 May 2012 14:11:47 +0000 (10:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 May 2012 14:11:47 +0000 (10:11 -0400)
lisp/ChangeLog
lisp/subr.el

index ce4103c89d6f90364655e6d70b56e3bde614e785..a46a08b9a1cbca4e0b02f4d81d70cbb8973024d4 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (defvar-local): Add debug spec and doc-string position.
+
 2012-05-08  Glenn Morris  <rgm@gnu.org>
 
        * lisp/language/burmese.el, language/cham.el, language/czech.el:
index 5d28b96cd7e9d314f3b385d25aa302dc2f0f3956..0166a3276a829726503bdde0b44a1461a98ed8be 100644 (file)
@@ -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))))