emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/transient ee26a40301 14/17: Move definition of transien


From: Jonas Bernoulli
Subject: [elpa] externals/transient ee26a40301 14/17: Move definition of transient-toggle-common
Date: Tue, 21 Nov 2023 10:17:51 -0500 (EST)

branch: externals/transient
commit ee26a403011fa82b7872d4438a06f39ab6f9d759
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Move definition of transient-toggle-common
---
 lisp/transient.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 5ba0f2dbe2..40063f8b87 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2693,11 +2693,6 @@ Please open an issue and post the shown command log." 
:error)))
            this-original-command
            'transient-enable-popup-navigation))
 
-(defun transient-toggle-common ()
-  "Toggle whether common commands are permanently shown."
-  (interactive)
-  (setq transient-show-common-commands (not transient-show-common-commands)))
-
 (defun transient-suspend ()
   "Suspend the current transient.
 It can later be resumed using `transient-resume', while no other
@@ -2879,6 +2874,11 @@ transient is active."
         (t
          (message "No suspended transient command"))))
 
+(defun transient-toggle-common ()
+  "Toggle whether common commands are permanently shown."
+  (interactive)
+  (setq transient-show-common-commands (not transient-show-common-commands)))
+
 (transient-define-suffix transient-echo-arguments (arguments)
   "Show the transient's active ARGUMENTS in the echo area.
 Intended for use in prefixes used for demonstration purposes,



reply via email to

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