1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/doc
Stefan Monnier 165353674e * lisp/emacs-lisp/pcase.el: Bind all the vars in or patterns
Improve the handling of `or` patterns where not all sub-patterns bind the
same set of variables.  This used to be "unsupported" and behaved in
somewhat unpredictable ways.

(pcase--expand): Rewrite.
(pcase-codegen): Delete.

* doc/lispref/control.texi (pcase Macro): Adjust accordingly.
Also remove the warning about "at least two" sub patterns.
These work fine, AFAICT, and if not we should fix it.

* test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-or-vars): New test.
2021-03-01 23:57:56 -05:00
..
emacs Mention the problems with newlines in Dired 2021-02-22 22:39:27 +01:00
lispintro Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lispref * lisp/emacs-lisp/pcase.el: Bind all the vars in or patterns 2021-03-01 23:57:56 -05:00
man Update copyright year to 2021 2021-01-01 01:13:56 -08:00
misc Remove references to old bignums from Calc manual 2021-03-01 20:59:52 +01:00