]> git.eshelyaron.com Git - emacs.git/commit
Clarify that 'pcase-lambda' only destructs
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 4 Aug 2024 14:52:38 +0000 (16:52 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 6 Aug 2024 09:54:57 +0000 (11:54 +0200)
commitadb67612c95d9903b069bc8bd22724beeacc1139
tree1913fe0db4beba05c577c44b5e356b4415898031
parent8747c7750ecb3a89960268b1fa57b184c35ec222
Clarify that 'pcase-lambda' only destructs

* lisp/emacs-lisp/pcase.el (pcase-lambda): Copy notice from
'pcase-let', indicating that pcase-lambda won't pattern match
like 'pcase', but just try to destruct with uncertain side
effects if this fails. (Bug#71503)

(cherry picked from commit 0756f3085ea948c945e309e2ce347fc5ab836574)
lisp/emacs-lisp/pcase.el