]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (defvar-local): Change 'indent' to 'defun' (bug#77256).
authorJuri Linkov <juri@linkov.net>
Wed, 9 Apr 2025 17:24:42 +0000 (20:24 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 11 Apr 2025 11:32:02 +0000 (13:32 +0200)
(cherry picked from commit 4b9d571a558fe75df67045ce5dd6d964d4956295)

lisp/subr.el

index 859407098ac63abe856e6af33ea840b50db45ce4..f7ad454d81f744f6e01ef2090db4700db0b11e00 100644 (file)
@@ -231,7 +231,7 @@ If FUNS is empty, expand to `identity'."
 Like `defvar' but additionally marks the variable as being automatically
 buffer-local wherever it is set.
 \n(fn SYMBOL &optional VALUE DOCSTRING)"
-  (declare (debug defvar) (doc-string 3) (indent 2))
+  (declare (debug defvar) (doc-string 3) (indent defun))
   ;; Can't use backquote here, it's too early in the bootstrap.
   (let ((value (car-safe args))
         (docstring (car-safe (cdr-safe args))))