Add 'rx' pattern for pcase.
* lisp/emacs-lisp/rx.el (rx): New pcase macro. * test/lisp/emacs-lisp/rx-tests.el (rx-pcase): Add unit test.
This commit is contained in:
parent
f57c710772
commit
ad4eff3b90
4 changed files with 69 additions and 1 deletions
|
@ -930,6 +930,5 @@ QPAT can take the following forms:
|
|||
((or (stringp qpat) (integerp qpat) (symbolp qpat)) `',qpat)
|
||||
(t (error "Unknown QPAT: %S" qpat))))
|
||||
|
||||
|
||||
(provide 'pcase)
|
||||
;;; pcase.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue