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

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

[elpa] externals/transient f23f51e24e 07/26: Rename transient--{do => ca


From: Jonas Bernoulli
Subject: [elpa] externals/transient f23f51e24e 07/26: Rename transient--{do => call}-pre-command
Date: Sun, 26 Nov 2023 19:42:00 -0500 (EST)

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

    Rename transient--{do => call}-pre-command
---
 lisp/transient.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index f818342e5e..cdec9ca86f 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2171,7 +2171,7 @@ value.  Otherwise return CHILDREN as is."
       (transient--wrap-command))
      (t
       (setq transient--exitp nil)
-      (let ((exitp (eq (transient--do-pre-command) transient--exit)))
+      (let ((exitp (eq (transient--call-pre-command) transient--exit)))
         (transient--wrap-command)
         (when exitp
           (transient--pre-exit)))))))
@@ -2504,7 +2504,7 @@ nil) then do nothing."
 
 ;;; Pre-Commands
 
-(defun transient--do-pre-command ()
+(defun transient--call-pre-command ()
   (if-let ((fn (transient--get-predicate-for this-command)))
       (let ((action (funcall fn)))
         (when (eq action transient--exit)
@@ -2590,7 +2590,7 @@ Use that command's pre-command to determine transient 
behavior."
                                    (posn-point (event-start 
last-command-event))
                                  (point))
                                'command)))
-    (transient--do-pre-command)))
+    (transient--call-pre-command)))
 
 (defun transient--do-recurse ()
   "Call the transient prefix command, preparing for return to active transient.



reply via email to

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