mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
This commit is contained in:
parent
5012f24c2a
commit
23db196eea
2 changed files with 11 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue