summaryrefslogtreecommitdiff
path: root/lisp/json.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2019-02-20 16:58:57 +0100
committerTassilo Horn <tsdh@gnu.org>2019-02-20 16:58:57 +0100
commite5c99a1757c281953257ac2548fb77702af75c86 (patch)
tree4820116244ad6650f53208bc792ca248ccc630fb /lisp/json.el
parentbfa10b704ebe71c91d5e5eb28e407a02d2d88863 (diff)
parentae77728d14e58054bdaee3c6965979947c778208 (diff)
downloademacs-scratch/replace-region-contents.tar.gz
Merge branch 'master' into scratch/replace-region-contentsscratch/replace-region-contents
Diffstat (limited to 'lisp/json.el')
-rw-r--r--lisp/json.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/json.el b/lisp/json.el
index 455444cc324..cc0a6fdfd4f 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -760,7 +760,7 @@ With prefix argument MINIMIZE, minimize it instead."
(defun json-pretty-print-buffer-ordered (&optional minimize)
"Pretty-print current buffer with object keys ordered.
With prefix argument MINIMIZE, minimize it instead."
- (interactive)
+ (interactive "P")
(let ((json-encoding-object-sort-predicate 'string<))
(json-pretty-print-buffer minimize)))