diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-22 22:51:25 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-22 22:51:25 +0100 |
| commit | 61ed3651df360e1a0c36ff70afbb9ee0f947252a (patch) | |
| tree | 0ae47519391bd567c3dcbea23a1cf9c0fd062a0c | |
| parent | 75830c8c62c34c8692239d51e999ed48b341d244 (diff) | |
Use single-arg form of signal to re-throw starting with Emacs 30
Stefan informed me that this is supported since at least that version.
| -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 cea49bb..63ae11d 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 (fboundp 'error-type-p) ; since Emacs 31.1 + (static-if (>= emacs-major-version 30) (signal err) (signal (car err) (cdr err)))))) |
