summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/rx.el
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2020-11-29 02:12:15 +0900
committerYuuki Harano <masm+github@masm11.me>2020-11-29 02:12:15 +0900
commitd46a223d8595e8edb67c6361033625797503cacf (patch)
treecf7e27daa93bfd05663dbbb2555b4682843ed40f /lisp/emacs-lisp/rx.el
parent62abc054041a592ca617ab228d61469dd7923a3f (diff)
parent769dc33df7ec9ac81aa52c336d2a61c32ddbd50f (diff)
downloademacs-d46a223d8595e8edb67c6361033625797503cacf.tar.gz
emacs-d46a223d8595e8edb67c6361033625797503cacf.tar.bz2
emacs-d46a223d8595e8edb67c6361033625797503cacf.zip
Merge branch 'master' into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
-rw-r--r--lisp/emacs-lisp/rx.el1
1 files changed, 1 insertions, 0 deletions
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