]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix missing interactive spec
authorTassilo Horn <tsdh@gnu.org>
Wed, 20 Feb 2019 15:57:43 +0000 (16:57 +0100)
committerTassilo 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

index 3271c373b4ac3f6b336f2b2decd28f53abe64848..19b8f09dcdae53df975b6155f24d4694ed4c1c68 100644 (file)
@@ -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)))