mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-17 17:58:46 +00:00
* lisp/emacs-lisp/pcase.el (pcase--u1):
Paper-over today's bootstrap failure.
This commit is contained in:
parent
70a567971a
commit
cf94a3e0c4
@ -774,9 +774,9 @@ Otherwise, it defers to REST which is a list of branches of the form
|
||||
((memq upat '(t _))
|
||||
(let ((code (pcase--u1 matches code vars rest)))
|
||||
(if (eq upat '_) code
|
||||
(macroexp--warn-and-return
|
||||
"Pattern t is deprecated. Use `_' instead"
|
||||
code))))
|
||||
(message "%s"
|
||||
"Pattern t is deprecated. Use `_' instead")
|
||||
code)))
|
||||
((eq upat 'pcase--dontcare) :pcase--dontcare)
|
||||
((memq (car-safe upat) '(guard pred))
|
||||
(if (eq (car upat) 'pred) (pcase--mark-used sym))
|
||||
|
Loading…
Reference in New Issue
Block a user