diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-22 16:46:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-03-22 16:46:28 -0400 |
commit | 7269a2f1586733bd03b569608bd77112b2e6487f (patch) | |
tree | 9acfc5c656863bf6ce482f32e1ca273929e83a59 /lisp/emacs-lisp/backtrace.el | |
parent | accd79c93935b50dddfcd6fe7fb6912c80bcddb1 (diff) | |
download | emacs-7269a2f1586733bd03b569608bd77112b2e6487f.tar.gz emacs-7269a2f1586733bd03b569608bd77112b2e6487f.tar.bz2 emacs-7269a2f1586733bd03b569608bd77112b2e6487f.zip |
(pp-fill): Cut before parens and dots
The `pp-fill` code sometimes end up generating things like:
(foo .
bar)
instead of
(foo
. bar)
so make sure we cut before rather than after the dot (and open
parens while we're at it).
* lisp/emacs-lisp/pp.el (pp-fill): Cut before parens and dots.
* test/lisp/emacs-lisp/pp-tests.el (pp-tests--dimensions): New function.
(pp-tests--cut-before): New test.
Diffstat (limited to 'lisp/emacs-lisp/backtrace.el')
0 files changed, 0 insertions, 0 deletions