From 89a24e4d0538e312bb0787ecb515bf7bd68fc04e Mon Sep 17 00:00:00 2001 From: Mattias EngdegÄrd Date: Tue, 24 Nov 2020 10:37:37 +0100 Subject: Autoload the 'rx' pcase macroexpander (bug#44807) * lisp/emacs-lisp/rx.el (rx--pcase-macroexpander]): Autoload. --- lisp/emacs-lisp/rx.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/emacs-lisp/rx.el') 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 -- cgit v1.2.3