]> git.eshelyaron.com Git - emacs.git/commit
Move the when-let family of macros to subr.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2022 14:42:44 +0000 (16:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2022 14:42:44 +0000 (16:42 +0200)
commitb05a103ea7a26b2f4099a613015d9f1abdc39a4d
treec3c5c9c3e4f0c3b1b781a77af08a66c9278f076a
parent93549c2b28770a84e1d1b9478a0861e2050df602
Move the when-let family of macros to subr.el

* lisp/subr.el (internal--build-binding)
(internal--build-bindings): Moved from subr-x.el and rewritten to
not use the threading macro.
(if-let*, when-let*, and-let*, if-let, when-let): Moved from
subr-x.el.  This avoids breaking the build every time somebody
uses these macros in functions that end up being called during
bootstrap.
lisp/emacs-lisp/subr-x.el
lisp/subr.el