From: Mattias EngdegÄrd Date: Tue, 24 Nov 2020 09:37:37 +0000 (+0100) Subject: Autoload the 'rx' pcase macroexpander (bug#44807) X-Git-Tag: emacs-28.0.90~5046 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89a24e4d0538e312bb0787ecb515bf7bd68fc04e;p=emacs.git Autoload the 'rx' pcase macroexpander (bug#44807) * lisp/emacs-lisp/rx.el (rx--pcase-macroexpander]): Autoload. --- diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 76c3ac31b85..6d33299e202 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el @@ -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