diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-11-27 17:32:26 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-11-27 17:32:26 +0100 |
| commit | 957c9e3c3a67a769759ceba174ae161352bf170d (patch) | |
| tree | 04d1075ee2e017b62a38001082b42bb7a93173e6 | |
| parent | 69e25785256990042d9170c678f5c42ec03b86e4 (diff) | |
transient--get-pre-command: Remove pointless ignore-errors
| -rw-r--r-- | lisp/transient.el | 3 |
1 files changed, 1 insertions, 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) |
