Commit ae77728d authored by Tassilo Horn's avatar Tassilo Horn

Fix missing interactive spec

* lisp/json.el (json-pretty-print-buffer-ordered): Add interactive
  spec "P" which has been missing.
parent 29db0dd3
Pipeline #825 failed with stage
in 60 minutes and 1 second
...@@ -754,7 +754,7 @@ With prefix argument MINIMIZE, minimize it instead." ...@@ -754,7 +754,7 @@ With prefix argument MINIMIZE, minimize it instead."
(defun json-pretty-print-buffer-ordered (&optional minimize) (defun json-pretty-print-buffer-ordered (&optional minimize)
"Pretty-print current buffer with object keys ordered. "Pretty-print current buffer with object keys ordered.
With prefix argument MINIMIZE, minimize it instead." With prefix argument MINIMIZE, minimize it instead."
(interactive) (interactive "P")
(let ((json-encoding-object-sort-predicate 'string<)) (let ((json-encoding-object-sort-predicate 'string<))
(json-pretty-print-buffer minimize))) (json-pretty-print-buffer minimize)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment