diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-23 01:23:54 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-23 01:23:54 +0100 |
| commit | 733c408d94aac9ca1660d14ff3aedc367abcd8ca (patch) | |
| tree | 11c6455ebc9fef07fde09f7d59ec1b66d4c05e2e | |
| parent | 61ed3651df360e1a0c36ff70afbb9ee0f947252a (diff) | |
Revert "Use single-arg form of signal to re-throw starting with Emacs 30"
Turns out `signal' does not accept a single argument in Emacs 30.
This reverts commit 61ed3651df360e1a0c36ff70afbb9ee0f947252a.
| -rw-r--r-- | lisp/transient.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el index 63ae11d..cea49bb 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -135,7 +135,7 @@ from Emacs commit e680827e814e155cf79175d87ff7c6ee3a08b69a." ,(macroexp-progn body)) ((debug error) (transient--emergency-exit ,id) - (static-if (>= emacs-major-version 30) + (static-if (fboundp 'error-type-p) ; since Emacs 31.1 (signal err) (signal (car err) (cdr err)))))) |
