emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108160: * lisp/subr.el (defvar-lo


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108160: * lisp/subr.el (defvar-local): Add debug spec and doc-string position.
Date: Fri, 02 Nov 2012 01:54:16 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108160
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2012-05-08 10:11:47 -0400
message:
  * lisp/subr.el (defvar-local): Add debug spec and doc-string position.
modified:
  lisp/ChangeLog
  lisp/subr.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-05-08 01:50:17 +0000
+++ b/lisp/ChangeLog    2012-05-08 14:11:47 +0000
@@ -1,3 +1,7 @@
+2012-05-08  Stefan Monnier  <address@hidden>
+
+       * subr.el (defvar-local): Add debug spec and doc-string position.
+
 2012-05-08  Glenn Morris  <address@hidden>
 
        * lisp/language/burmese.el, language/cham.el, language/czech.el:

=== modified file 'lisp/subr.el'
--- a/lisp/subr.el      2012-05-05 01:47:04 +0000
+++ b/lisp/subr.el      2012-05-08 14:11:47 +0000
@@ -125,6 +125,7 @@
   "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))))


reply via email to

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