Skip to content

Commit

Permalink
Move definition of transient-toggle-common
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 21, 2023
1 parent 82bc29d commit ee26a40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ee26a40

Please sign in to comment.