Fix missing interactive spec
* lisp/json.el (json-pretty-print-buffer-ordered): Add interactive spec "P" which has been missing.
This commit is contained in:
parent
29db0dd311
commit
ae77728d14
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue