Skip to content

Commit 951fb93

Browse files
committed
* lisp/transient.el (static-if): Remove duplicated definition.
(Bug#72182) This should have been removed when the standalone version was merged into Emacs.
1 parent 0218fb2 commit 951fb93

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lisp/transient.el

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,6 @@ similar defect.") :emergency))
8282
(defvar Man-notify-method)
8383
(defvar pp-default-function) ; since Emacs 29.1
8484

85-
(defmacro static-if (condition then-form &rest else-forms)
86-
"A conditional compilation macro.
87-
Evaluate CONDITION at macro-expansion time. If it is non-nil,
88-
expand the macro to THEN-FORM. Otherwise expand it to ELSE-FORMS
89-
enclosed in a `progn' form. ELSE-FORMS may be empty."
90-
(declare (indent 2)
91-
(debug (sexp sexp &rest sexp)))
92-
(if (eval condition lexical-binding)
93-
then-form
94-
(cons 'progn else-forms)))
95-
9685
(defmacro transient--with-emergency-exit (id &rest body)
9786
(declare (indent defun))
9887
(unless (keywordp id)

0 commit comments

Comments
 (0)