From ee26a403011fa82b7872d4438a06f39ab6f9d759 Mon Sep 17 00:00:00 2001
From: Jonas Bernoulli <jonas@bernoul.li>
Date: Tue, 21 Nov 2023 12:54:18 +0100
Subject: [PATCH] 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 5ba0f2db..40063f8b 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,