emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 89a24e4: Autoload the 'rx' pcase macroexpander (bug#44807)


From: Mattias Engdegård
Subject: master 89a24e4: Autoload the 'rx' pcase macroexpander (bug#44807)
Date: Tue, 24 Nov 2020 04:43:08 -0500 (EST)

branch: master
commit 89a24e4d0538e312bb0787ecb515bf7bd68fc04e
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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(+)

diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 76c3ac3..6d33299 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]