projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29db0dd
)
Fix missing interactive spec
author
Tassilo Horn
<tsdh@gnu.org>
Wed, 20 Feb 2019 15:57:43 +0000
(16:57 +0100)
committer
Tassilo Horn
<tsdh@gnu.org>
Wed, 20 Feb 2019 15:57:43 +0000
(16:57 +0100)
* lisp/json.el (json-pretty-print-buffer-ordered): Add interactive
spec "P" which has been missing.
lisp/json.el
patch
|
blob
|
history
diff --git
a/lisp/json.el
b/lisp/json.el
index 3271c373b4ac3f6b336f2b2decd28f53abe64848..19b8f09dcdae53df975b6155f24d4694ed4c1c68 100644
(file)
--- 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)))