1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).

This commit is contained in:
Chong Yidong 2011-05-28 14:48:41 -04:00
parent 5012f24c2a
commit 23db196eea
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-05-28 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
* progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.

View File

@ -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")