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

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

[elpa] externals/transient 82bc29d29f 13/17: transient-inhibit-move: Ren


From: Jonas Bernoulli
Subject: [elpa] externals/transient 82bc29d29f 13/17: transient-inhibit-move: Rename and improve strings
Date: Tue, 21 Nov 2023 10:17:51 -0500 (EST)

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

    transient-inhibit-move: Rename and improve strings
    
    This way it is more in line with similar commands such as
    `transient-inapt'.
---
 lisp/transient.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index c5fc788bcf..5ba0f2dbe2 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2618,7 +2618,7 @@ Do not push the active transient to the transient stack."
 In that case behave like `transient--do-stay', otherwise similar
 to `transient--do-warn'."
   (unless transient-enable-popup-navigation
-    (setq this-command 'transient-popup-navigation-help))
+    (setq this-command 'transient-inhibit-move))
   transient--stay)
 
 (defun transient--do-minus ()
@@ -2686,10 +2686,11 @@ prefix argument and pivot to `transient-update'."
 This should never happen.
 Please open an issue and post the shown command log." :error)))
 
-(defun transient-popup-navigation-help ()
-  "Inform the user how to enable popup navigation commands."
+(defun transient-inhibit-move ()
+  "Warn the user that popup navigation is disabled."
   (interactive)
-  (message "This command is only available if `%s' is non-nil"
+  (message "To enable use of `%s', please customize `%s'"
+           this-original-command
            'transient-enable-popup-navigation))
 
 (defun transient-toggle-common ()



reply via email to

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