]> git.eshelyaron.com Git - emacs.git/commit
cond*: Add support for Pcase patterns
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 26 Oct 2024 02:26:06 +0000 (22:26 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Oct 2024 16:45:55 +0000 (18:45 +0200)
commit16761d7771ebbb4e3833cb1a3e3a2b75d05c6f85
treef8cbdeeee1ce649c796e75729025b111a8d8154d
parentfb0e38935bb7baf47b95f3db3a2193b2a7d7ee5a
cond*: Add support for Pcase patterns

* lisp/emacs-lisp/cond-star.el (cond*): Adjust docstring.
(match*): Prefer `_VAR` syntax.
(cond*-convert-condition): Add support for `pcase*`.
* doc/lispref/control.texi (cond* Macro): Document `pcase*`.
* test/lisp/emacs-lisp/cond-star-tests.el: New file.

(cherry picked from commit d44b94a63d2d407fca5d5ec41fcb92d7b765972e)
doc/lispref/control.texi
etc/NEWS
lisp/emacs-lisp/cond-star.el
test/lisp/emacs-lisp/cond-star-tests.el [new file with mode: 0644]