diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-07-13 21:29:55 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-07-13 21:29:55 +0200 |
| commit | ed732cb35f6a6753930df10a0f66a6e4efd29e6d (patch) | |
| tree | 70d185c1111effa408328e02ff805f7e9bc4f40b /lisp | |
| parent | 32b7a99bf25fbf43fcc6efb9712a2c0888edd3eb (diff) | |
Bump compat dependency
Since that version backports `static-if',
we no longer have to define that here.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/transient.el | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lisp/transient.el b/lisp/transient.el index 1ad5c4e..333035f 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -7,7 +7,7 @@ ;; Keywords: extensions ;; Package-Version: 0.7.2 -;; Package-Requires: ((emacs "26.1") (compat "29.1.4.5") (seq "2.24")) +;; Package-Requires: ((emacs "26.1") (compat "30.0.0.0") (seq "2.24")) ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -85,17 +85,6 @@ similar defect.") :emergency)) (defvar Man-notify-method) (defvar pp-default-function) ; since Emacs 29.1 -(defmacro static-if (condition then-form &rest else-forms) - "A conditional compilation macro. -Evaluate CONDITION at macro-expansion time. If it is non-nil, -expand the macro to THEN-FORM. Otherwise expand it to ELSE-FORMS -enclosed in a `progn' form. ELSE-FORMS may be empty." - (declare (indent 2) - (debug (sexp sexp &rest sexp))) - (if (eval condition lexical-binding) - then-form - (cons 'progn else-forms))) - (defmacro transient--with-emergency-exit (id &rest body) (declare (indent defun)) (unless (keywordp id) |
