aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/rx.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2008-12-28 04:19:34 +0000
committerChong Yidong <[email protected]>2008-12-28 04:19:34 +0000
commitbaac7510a4417045d20e0e84ab1dff327348f456 (patch)
tree14fb41726c16d607f17b0728ed4643cebb93b9a0 /lisp/emacs-lisp/rx.el
parent5fa77a6a7a2672de2ec66dc55e40d1bad09968a3 (diff)
(rx): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
-rw-r--r--lisp/emacs-lisp/rx.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 7f3793f05a..a56e95dfa9 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -836,7 +836,10 @@ NO-GROUP non-nil means don't put shy groups around the result."
(defmacro rx (&rest regexps)
"Translate regular expressions REGEXPS in sexp form to a regexp string.
REGEXPS is a non-empty sequence of forms of the sort listed below.
-See also `rx-to-string' for how to do such a translation at run-time.
+
+Note that `rx' is a Lisp macro; when used in a Lisp program being
+ compiled, the translation is performed by the compiler.
+See `rx-to-string' for how to do such a translation at run-time.
The following are valid subforms of regular expressions in sexp
notation.