emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ae77728: Fix missing interactive spec


From: Tassilo Horn
Subject: [Emacs-diffs] master ae77728: Fix missing interactive spec
Date: Wed, 20 Feb 2019 10:58:45 -0500 (EST)

branch: master
commit ae77728d14e58054bdaee3c6965979947c778208
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    Fix missing interactive spec
    
    * lisp/json.el (json-pretty-print-buffer-ordered): Add interactive
      spec "P" which has been missing.
---
 lisp/json.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/json.el b/lisp/json.el
index 3271c37..19b8f09 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]