branch: externals/transient
commit f2e0dfcc4b12301e0804b772a4bf9746a3af62c5
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
transient--get-predicate-for: Ignore error in transient--suffix-symbol
---
lisp/transient.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 2ab137c1ca..1a39e3e8fb 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1958,8 +1958,9 @@ value. Otherwise return CHILDREN as is."
(transient--pre-exit))))))
(defun transient--get-predicate-for (cmd)
- (or (lookup-key transient--predicate-map
- (vector (transient--suffix-symbol cmd)))
+ (or (ignore-errors
+ (lookup-key transient--predicate-map
+ (vector (transient--suffix-symbol cmd))))
(oref transient--prefix transient-non-suffix)))
(defun transient--pre-exit ()