emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f160604: Indent `closure' forms better


From: Lars Ingebrigtsen
Subject: master f160604: Indent `closure' forms better
Date: Thu, 25 Nov 2021 08:42:05 -0500 (EST)

branch: master
commit f1606047c49d86df99c4528abd932d0cdcb2befb
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 d90d0f5..416d645 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]