summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/pp-resources
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-11-04 22:07:48 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-04 22:07:48 +0100
commitfb1267d90a5c25a29dbdae170ea065e017b05d29 (patch)
treed87efef56054f081bf8b59598d6ea3f8ee38fe85 /test/lisp/emacs-lisp/pp-resources
parent292f50d27b399370809ccb6bbabc365120fc2256 (diff)
downloademacs-fb1267d90a5c25a29dbdae170ea065e017b05d29.tar.gz
emacs-fb1267d90a5c25a29dbdae170ea065e017b05d29.tar.bz2
emacs-fb1267d90a5c25a29dbdae170ea065e017b05d29.zip
Indent lambdas/closures better
* lisp/emacs-lisp/pp.el (pp--format-function): Indent lambdas and closures better.
Diffstat (limited to 'test/lisp/emacs-lisp/pp-resources')
-rw-r--r--test/lisp/emacs-lisp/pp-resources/code-formats.erts8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/pp-resources/code-formats.erts b/test/lisp/emacs-lisp/pp-resources/code-formats.erts
index 821e326867b..f48e262f69d 100644
--- a/test/lisp/emacs-lisp/pp-resources/code-formats.erts
+++ b/test/lisp/emacs-lisp/pp-resources/code-formats.erts
@@ -95,3 +95,11 @@ Also add the value to the front of the list in the variable `values'."
(values--store-value result)
(pp-display-expression result "*Pp Eval Output*")))
=-=-=
+
+Name: code-formats9
+
+=-=
+(lambda ()
+ (interactive)
+ 1)
+=-=-=