]> git.eshelyaron.com Git - emacs.git/commit
Improve pretty-printing of multiple JSON snippets in a region
authorTassilo Horn <tsdh@gnu.org>
Fri, 2 Aug 2019 16:05:13 +0000 (18:05 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 2 Aug 2019 16:05:13 +0000 (18:05 +0200)
commit10065010a64d4a9a109030773aa835a5c7e00429
tree2568b42c6d54d6f6ac9d87fdaf674d0b3254b903
parent695fbcf56db5a4336865e64b6d076008c62ce2ef
Improve pretty-printing of multiple JSON snippets in a region

* lisp/json.el (json-pretty-print): Improve pretty-printing of
multiple JSON snippets in a region.  Don't lose the region contents
starting with the first non-JSON-parseable text.  Also, don't swallow
errors that occurred while parsing (bug#34160).
lisp/json.el