diff options
| author | Ryan Crum | 2012-12-14 09:57:37 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2012-12-14 09:57:37 -0500 |
| commit | d72e9e922fb914a946e104ad2128f57c983ab75d (patch) | |
| tree | 28033212d18d659b1f7f16cee58dfd6482041bab /src/buffer.c | |
| parent | 5c207910c4899af1c547b0e508692d846c145d48 (diff) | |
| download | emacs-d72e9e922fb914a946e104ad2128f57c983ab75d.tar.gz emacs-d72e9e922fb914a946e104ad2128f57c983ab75d.zip | |
* lisp/json.el: Add pretty-print option.
(json-encoding-separator, json-encoding-default-indentation)
(json--encoding-current-indentation, json-encoding-pretty-print)
(json-encoding-lisp-style-closings): New vars.
(json--with-indentation): New macro.
(json-encode-hash-table, json-encode-alist, json-encode-plist)
(json-encode-array): Use it to obey json-encoding-pretty-print.
(json-pretty-print-buffer, json-pretty-print): New commands.
Fixes: debbugs:12634
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions