From: Juri Linkov Date: Wed, 9 Apr 2025 17:24:42 +0000 (+0300) Subject: * lisp/subr.el (defvar-local): Change 'indent' to 'defun' (bug#77256). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09fe92a66aa554a60ff4463011bc83272535ee4f;p=emacs.git * lisp/subr.el (defvar-local): Change 'indent' to 'defun' (bug#77256). (cherry picked from commit 4b9d571a558fe75df67045ce5dd6d964d4956295) --- diff --git a/lisp/subr.el b/lisp/subr.el index 859407098ac..f7ad454d81f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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))))