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

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

[elpa] externals/transient 4b9d831d28 10/41: transient--make-predicate-m


From: Jonas Bernoulli
Subject: [elpa] externals/transient 4b9d831d28 10/41: transient--make-predicate-map: Drop obsolete condition
Date: Sun, 12 Nov 2023 20:04:07 -0500 (EST)

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

    transient--make-predicate-map: Drop obsolete condition
    
    All suffix commands are fbound now.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index a3b45ddfc0..c9e6d4267f 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1763,7 +1763,7 @@ of the corresponding object."
       (define-key map [handle-switch-frame] #'transient--do-suspend))
     (dolist (obj transient--suffixes)
       (let* ((cmd (oref obj command))
-             (sub-prefix (and (symbolp cmd) (get cmd 'transient--prefix) t)))
+             (sub-prefix (and (get cmd 'transient--prefix) t)))
         (cond
          ((oref obj inapt)
           (define-key map (vector cmd) #'transient--do-warn-inapt))



reply via email to

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