summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2019-02-20 16:57:43 +0100
committerTassilo Horn <tsdh@gnu.org>2019-02-20 16:57:43 +0100
commitae77728d14e58054bdaee3c6965979947c778208 (patch)
tree31b59831e0277af0d3d509d225475b19a2b09c2a
parent29db0dd31172ecbc73abdb1895214818be5cbf26 (diff)
downloademacs-ae77728d14e58054bdaee3c6965979947c778208.tar.gz
Fix missing interactive spec
* lisp/json.el (json-pretty-print-buffer-ordered): Add interactive spec "P" which has been missing.
-rw-r--r--lisp/json.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/json.el b/lisp/json.el
index 3271c373b4a..19b8f09dcda 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -754,7 +754,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)))