Autoload the 'rx' pcase macroexpander (bug#44807)
* lisp/emacs-lisp/rx.el (rx--pcase-macroexpander]): Autoload.
This commit is contained in:
parent
329feffc68
commit
89a24e4d05
1 changed files with 1 additions and 0 deletions
|
@ -1418,6 +1418,7 @@ into a plain rx-expression, collecting names into `rx--pcase-vars'."
|
|||
(cons head (mapcar #'rx--pcase-transform rest)))
|
||||
(_ rx)))
|
||||
|
||||
;;;###autoload
|
||||
(pcase-defmacro rx (&rest regexps)
|
||||
"A pattern that matches strings against `rx' REGEXPS in sexp form.
|
||||
REGEXPS are interpreted as in `rx'. The pattern matches any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue