From f1606047c49d86df99c4528abd932d0cdcb2befb Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 25 Nov 2021 14:23:58 +0100 Subject: [PATCH] Indent `closure' forms better * lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms better (bug#52063). --- lisp/emacs-lisp/lisp-mode.el | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5