From ed732cb35f6a6753930df10a0f66a6e4efd29e6d Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sat, 13 Jul 2024 21:29:55 +0200 Subject: [PATCH] Bump compat dependency Since that version backports `static-if', we no longer have to define that here. --- lisp/transient.el | 13 +------------ 1 file changed, 1 insertion(+), 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)