]> git.eshelyaron.com Git - emacs.git/commit
Add new basic Emacs Lisp code formatting function
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Nov 2021 20:44:46 +0000 (21:44 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Nov 2021 20:44:53 +0000 (21:44 +0100)
commit6cf86ed4c1c7b5a7b74630347de0dfb413d3cd18
treeeb86a0a4bd114db63d9e41880386f0a8d0e6e91d
parent4c6afb527bddf9e9f481dd6f6627ffd5407b8803
Add new basic Emacs Lisp code formatting function

* lisp/emacs-lisp/pp.el (pp-emacs-lisp-code): New interface function.
(pp): Mention it.
(pp--insert-lisp, pp--format-vector, pp--format-list)
(pp--format-function, pp--format-definition, pp--insert-binding)
(pp--insert, pp--indent-buffer): New helper functions.
etc/NEWS
lisp/emacs-lisp/pp.el
test/lisp/emacs-lisp/pp-resources/code-formats.erts [new file with mode: 0644]
test/lisp/emacs-lisp/pp-tests.el