diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-25 14:23:58 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-25 14:41:45 +0100 |
commit | f1606047c49d86df99c4528abd932d0cdcb2befb (patch) | |
tree | 755066292831d2f1cbd6c61177c63f94502d0155 /lisp/emacs-lisp/lisp-mode.el | |
parent | d0ea2a87f4d7a1afbe959fe53099222e120e8858 (diff) | |
download | emacs-f1606047c49d86df99c4528abd932d0cdcb2befb.tar.gz |
Indent `closure' forms better
* lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms
better (bug#52063).
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index d90d0f5f6ac..416d64558d9 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -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. |