aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-05-28 14:48:41 -0400
committerChong Yidong2011-05-28 14:48:41 -0400
commit23db196eea7d939897d95cb4b1d122bae1a63ce9 (patch)
treee092f2c02c3b934d756b455defb609305470d099
parent5012f24c2a7ca12a298a4bdaf991961282ddc167 (diff)
downloademacs-23db196eea7d939897d95cb4b1d122bae1a63ce9.tar.gz
emacs-23db196eea7d939897d95cb4b1d122bae1a63ce9.zip
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/re-builder.el9
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dba8f538d5e..5aeac2b9698 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-05-28 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4
12011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change) 52011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2 6
3 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun. 7 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
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'.")
351 351
352;;;###autoload 352;;;###autoload
353(defun re-builder () 353(defun re-builder ()
354 "Construct a regexp interactively." 354 "Construct a regexp interactively.
355 (interactive) 355This command makes the current buffer the \"target\" buffer of
356the regexp builder. It displays a buffer named \"*RE-Builder*\"
357in another window, initially containing an empty regexp.
356 358
359As you edit the regexp in the \"*RE-Builder*\" buffer, the
360matching parts of the target buffer will be highlighted."
361 (interactive)
357 (if (and (string= (buffer-name) reb-buffer) 362 (if (and (string= (buffer-name) reb-buffer)
358 (reb-mode-buffer-p)) 363 (reb-mode-buffer-p))
359 (message "Already in the RE Builder") 364 (message "Already in the RE Builder")