diff options
author | Michael Heerdegen <michael_heerdegen@web.de> | 2024-02-18 01:55:54 +0100 |
---|---|---|
committer | Michael Heerdegen <michael_heerdegen@web.de> | 2024-03-11 05:24:59 +0100 |
commit | bbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71 (patch) | |
tree | a193144bbc550cdb28f05930755b4bb663832580 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 9a2ce74c3783c4be8ba70642da374d8e77c6f9ac (diff) | |
download | emacs-bbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71.tar.gz emacs-bbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71.tar.bz2 emacs-bbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71.zip |
Improve pp-emacs-lisp-code backquote form printing
* lisp/emacs-lisp/pp.el (pp--quoted-or-unquoted-form-p): New helper
function.
(pp--insert-lisp): Take care of quoted, backquoted and
unquoted expressions; print using an recursive call.
(pp--format-list): Exclude more cases from printing as a function call
by default. Print lists whose second-last element is an (un)quoting
symbol using dotted list syntax; e.g. (a b . ,c) instead of (a b \, c).
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions