]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (with-output-to-temp-buffer): Add `indent` rule
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 9 Feb 2024 19:13:29 +0000 (14:13 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 Feb 2024 08:42:17 +0000 (09:42 +0100)
(cherry picked from commit 3c3702b9bbc79f63026606dc0f391da3d795226d)

lisp/emacs-lisp/lisp-mode.el
lisp/subr.el

index ad0525e24be36d964d94586ac06f60112a5fe117..3475d944337849a110829da3d17cec9a52c4bdb0 100644 (file)
@@ -1347,7 +1347,6 @@ Lisp function does not specify a special indentation."
 (put 'condition-case 'lisp-indent-function 2)
 (put 'handler-case 'lisp-indent-function 1) ;CL
 (put 'unwind-protect 'lisp-indent-function 1)
-(put 'with-output-to-temp-buffer 'lisp-indent-function 1)
 (put 'closure 'lisp-indent-function 2)
 
 (defun indent-sexp (&optional endpos)
index f41bb34045e38c47646bc500279403c9dc536b57..c317d558e248b60633079e3a3923ae0de163284e 100644 (file)
@@ -5019,7 +5019,7 @@ read-only, and scans it for function and variable names to make them into
 clickable cross-references.
 
 See the related form `with-temp-buffer-window'."
-  (declare (debug t))
+  (declare (debug t) (indent 1))
   (let ((old-dir (make-symbol "old-dir"))
         (buf (make-symbol "buf")))
     `(let* ((,old-dir default-directory)