From 957c9e3c3a67a769759ceba174ae161352bf170d Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 27 Nov 2023 17:32:26 +0100 Subject: transient--get-pre-command: Remove pointless ignore-errors --- lisp/transient.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index ade1d8f..ca3f02b 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -2527,8 +2527,7 @@ nil) then do nothing." transient--stay)) (defun transient--get-pre-command (cmd &optional suffix-only) - (or (ignore-errors - (lookup-key transient--predicate-map (vector cmd))) + (or (lookup-key transient--predicate-map (vector cmd)) (and (not suffix-only) (transient--resolve-pre-command (oref transient--prefix transient-non-suffix) -- cgit v1.0