diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2025-02-18 22:27:08 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2025-02-18 22:27:31 -0500 |
commit | 9143c18ae4752cef8465579dcd713db2032ab045 (patch) | |
tree | 51c1efeec89171d200d7c118fea67dfdcb5e8902 /lisp/emacs-lisp/debug.el | |
parent | bb45d35ea7db5dc93a7856dccf14c01f01bd95fe (diff) | |
download | emacs-9143c18ae4752cef8465579dcd713db2032ab045.tar.gz emacs-9143c18ae4752cef8465579dcd713db2032ab045.tar.bz2 emacs-9143c18ae4752cef8465579dcd713db2032ab045.zip |
(json-pretty-print): Rework a bit
* lisp/json.el (json-pretty-print): Call 'replace-buffer-contents'
separately for each json object rather than once at the end, so
its work is easier. Use 'json--print' rather than 'json-encode' so as
to avoid creating yet more temp buffers.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions