diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-05-28 14:48:41 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-05-28 14:48:41 -0400 |
commit | 23db196eea7d939897d95cb4b1d122bae1a63ce9 (patch) | |
tree | e092f2c02c3b934d756b455defb609305470d099 /lisp/emacs-lisp | |
parent | 5012f24c2a7ca12a298a4bdaf991961282ddc167 (diff) | |
download | emacs-23db196eea7d939897d95cb4b1d122bae1a63ce9.tar.gz emacs-23db196eea7d939897d95cb4b1d122bae1a63ce9.tar.bz2 emacs-23db196eea7d939897d95cb4b1d122bae1a63ce9.zip |
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/re-builder.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index 50a65eb6bbb..5ce18d020c9 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el @@ -351,9 +351,14 @@ Except for Lisp syntax this is the same as `reb-regexp'.") ;;;###autoload (defun re-builder () - "Construct a regexp interactively." - (interactive) + "Construct a regexp interactively. +This command makes the current buffer the \"target\" buffer of +the regexp builder. It displays a buffer named \"*RE-Builder*\" +in another window, initially containing an empty regexp. +As you edit the regexp in the \"*RE-Builder*\" buffer, the +matching parts of the target buffer will be highlighted." + (interactive) (if (and (string= (buffer-name) reb-buffer) (reb-mode-buffer-p)) (message "Already in the RE Builder") |