|
From: | Michael Heerdegen |
Subject: | bug#20784: 25.0.50; pcase documentation on t and nil |
Date: | Fri, 12 Jun 2015 19:36:03 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: > How 'bout the following patch? > > * lisp/emacs-lisp/pcase.el (pcase): Reword the SELFQUOTING case. > (pcase--split-pred, pcase--self-quoting-p): Restrict selfquoting > numbers to integers. > (pcase--u1): Deprecate t patterns. Reject nil as an invalid pattern. Thanks, that looks good to me. Comments in my message above. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |