summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-02-27 10:35:51 +0000
committerRichard M. Stallman <rms@gnu.org>2005-02-27 10:35:51 +0000
commite342a48a657eae5dfba0dd5882dc935f694769bb (patch)
tree4a41e8af7f9c3052a242c1a4f0a77ffe98987f21 /lisp/emacs-lisp
parent9c7cc04bffffc21dd864b384e9c7a612515c2643 (diff)
downloademacs-e342a48a657eae5dfba0dd5882dc935f694769bb.tar.gz
emacs-e342a48a657eae5dfba0dd5882dc935f694769bb.tar.bz2
emacs-e342a48a657eae5dfba0dd5882dc935f694769bb.zip
(regexp-builder): New function.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/re-builder.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index 019a45213c8..d26a0ae5f38 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -327,10 +327,16 @@ Except for Lisp syntax this is the same as `reb-regexp'.")
"Return binding for SYMBOL in the RE Builder target buffer."
`(with-current-buffer reb-target-buffer ,symbol))
+;;; This is to help people find this in Apropos.
+;;;###autoload
+(defun regexp-builder ()
+ "Alias for `re-builder': Construct a regexp interactively."
+ (interactive)
+ (re-builder))
;;;###autoload
(defun re-builder ()
- "Call up the RE Builder for the current window."
+ "Construct a regexp interactively."
(interactive)
(if (and (string= (buffer-name) reb-buffer)