emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient ed732cb35f 1/2: Bump compat dependency


From: Jonas Bernoulli
Subject: [elpa] externals/transient ed732cb35f 1/2: Bump compat dependency
Date: Sat, 13 Jul 2024 17:07:30 -0400 (EDT)

branch: externals/transient
commit ed732cb35f6a6753930df10a0f66a6e4efd29e6d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    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 1ad5c4ebe3..333035fb18 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]