summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-11-21 12:54:18 +0100
committerJonas Bernoulli <jonas@bernoul.li>2023-11-21 12:54:18 +0100
commitee26a403011fa82b7872d4438a06f39ab6f9d759 (patch)
treeda06a3d29cdb72ff4374a24eb986dd79c190fe37
parent82bc29d29f5dffd0b25a5aecb07ba7ab7ed02c89 (diff)
Move definition of transient-toggle-common
-rw-r--r--lisp/transient.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index 5ba0f2d..40063f8 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,