summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2024-02-18 01:55:54 +0100
committerMichael Heerdegen <michael_heerdegen@web.de>2024-03-11 05:24:59 +0100
commitbbc53e0bcf3fe18e7c1cd51fb8719cf62b9f6c71 (patch)
treea193144bbc550cdb28f05930755b4bb663832580 /lisp/emacs-lisp/syntax.el
parent9a2ce74c3783c4be8ba70642da374d8e77c6f9ac (diff)
downloademacs-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/syntax.el')
0 files changed, 0 insertions, 0 deletions