diff options
author | Earl Hyatt <okamsn@protonmail.com> | 2021-08-11 23:54:31 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-11 23:54:31 +0200 |
commit | 2f90fa19b8fdc70303232d389553afa524c72509 (patch) | |
tree | 1d544d5e950d09542eb78e41083c920af35a310e /lisp/obsolete/cl.el | |
parent | 3b5f8ab0d06f6c39aaa716b6279c2ceb4bfc5b14 (diff) | |
download | emacs-2f90fa19b8fdc70303232d389553afa524c72509.tar.gz emacs-2f90fa19b8fdc70303232d389553afa524c72509.tar.bz2 emacs-2f90fa19b8fdc70303232d389553afa524c72509.zip |
Add a `pcase-setq' macro
* doc/lispref/control.texi (Destructuring with pcase Patterns):
Document this macro.
* lisp/emacs-lisp/pcase.el (pcase-setq): New macro. This macro is
the 'setq' equivalent of 'pcase-let'.
* test/lisp/emacs-lisp/pcase-tests.el (pcase-setq): Test this new
macro. (bug#49809).
Diffstat (limited to 'lisp/obsolete/cl.el')
0 files changed, 0 insertions, 0 deletions