aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorKarl Heuer1998-06-04 06:57:32 +0000
committerKarl Heuer1998-06-04 06:57:32 +0000
commitcbc127de47c694456ea81e4fff1fb49098e0ab29 (patch)
tree2072858511e33a53a55b4167142b20e92dca6d53 /lisp/replace.el
parent1dbd9103606128bc861a4210f14f1dbc08f05fb3 (diff)
downloademacs-cbc127de47c694456ea81e4fff1fb49098e0ab29.tar.gz
emacs-cbc127de47c694456ea81e4fff1fb49098e0ab29.zip
(esc-map): Bind C-M-% to query-replace-regexp.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 07d5892e458..e82eb3bdafb 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -115,6 +115,7 @@ and `\\=\\N' (where N is a digit) stands for
115 whatever what matched the Nth `\\(...\\)' in REGEXP." 115 whatever what matched the Nth `\\(...\\)' in REGEXP."
116 (interactive (query-replace-read-args "Query replace regexp" t)) 116 (interactive (query-replace-read-args "Query replace regexp" t))
117 (perform-replace regexp to-string t t arg)) 117 (perform-replace regexp to-string t t arg))
118(define-key esc-map [?\C-%] 'query-replace-regexp)
118 119
119(defun map-query-replace-regexp (regexp to-strings &optional arg) 120(defun map-query-replace-regexp (regexp to-strings &optional arg)
120 "Replace some matches for REGEXP with various strings, in rotation. 121 "Replace some matches for REGEXP with various strings, in rotation.