diff options
| author | Lars Ingebrigtsen | 2021-11-25 14:23:58 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-25 14:41:45 +0100 |
| commit | f1606047c49d86df99c4528abd932d0cdcb2befb (patch) | |
| tree | 755066292831d2f1cbd6c61177c63f94502d0155 | |
| parent | d0ea2a87f4d7a1afbe959fe53099222e120e8858 (diff) | |
| download | emacs-f1606047c49d86df99c4528abd932d0cdcb2befb.tar.gz emacs-f1606047c49d86df99c4528abd932d0cdcb2befb.zip | |
Indent `closure' forms better
* lisp/emacs-lisp/lisp-mode.el (closure): Indent `closure' forms
better (bug#52063).
| -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." | |||
| 1308 | (put 'handler-bind 'lisp-indent-function 1) ;CL | 1308 | (put 'handler-bind 'lisp-indent-function 1) ;CL |
| 1309 | (put 'unwind-protect 'lisp-indent-function 1) | 1309 | (put 'unwind-protect 'lisp-indent-function 1) |
| 1310 | (put 'with-output-to-temp-buffer 'lisp-indent-function 1) | 1310 | (put 'with-output-to-temp-buffer 'lisp-indent-function 1) |
| 1311 | (put 'closure 'lisp-indent-function 2) | ||
| 1311 | 1312 | ||
| 1312 | (defun indent-sexp (&optional endpos) | 1313 | (defun indent-sexp (&optional endpos) |
| 1313 | "Indent each line of the list starting just after point. | 1314 | "Indent each line of the list starting just after point. |