Indent `closure' forms better

* lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms
better (bug#52063).
This commit is contained in:
Lars Ingebrigtsen 2021-11-25 14:23:58 +01:00
parent d0ea2a87f4
commit f1606047c4

View file

@ -1308,6 +1308,7 @@ Lisp function does not specify a special indentation."
(put 'handler-bind '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)
"Indent each line of the list starting just after point.