1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

New dummy defmacro for bind*

* lisp/emacs-lisp/cond-star.el (bind*): New macro, like match*
and bind-and*.
This commit is contained in:
Sean Whitton 2025-11-13 17:15:18 +00:00
parent 6b7512ed61
commit 8e5c4c411d

View file

@ -158,6 +158,13 @@ ATOM (meaning any other kind of non-list not described above)
;; FIXME: `byte-compile-warn-x' is not necessarily defined here.
(byte-compile-warn-x pattern "`match*' used other than as a `cond*' condition"))
(defmacro bind* (&rest bindings)
"This macro evaluates BINDINGS like `let*'.
It is not really a Lisp function, and it is meaningful
only in the CONDITION of a `cond*' clause."
;; FIXME: `byte-compile-warn-x' is not necessarily defined here.
(byte-compile-warn-x bindings "`bind' used other than as a `cond*' condition"))
(defmacro bind-and* (&rest bindings)
"This macro evaluates BINDINGS like `if-let*'.
It is not really a Lisp function, and it is meaningful