summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-04-04 21:04:34 +0000
committerGerd Moellmann <gerd@gnu.org>2000-04-04 21:04:34 +0000
commite61bee50297d441774321a9835ddb9de62c4c8be (patch)
tree095ef265f125350acc93486840a1593ebcd12c78 /lisp/isearch.el
parent89a3903ddb0006606da7bd942eebc0c2a7c5c006 (diff)
downloademacs-e61bee50297d441774321a9835ddb9de62c4c8be.tar.gz
(isearch-mode-map): Define M-C-s like C-s and M-C-r
like C-r.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 0a3b0e26bdb..22d5cc82bd2 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1,6 +1,7 @@
;;; isearch.el --- incremental search minor mode.
-;; Copyright (C) 1992, 93, 94, 95, 96, 97, 1999 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 93, 94, 95, 96, 97, 1999, 2000
+;; Free Software Foundation, Inc.
;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
;; Maintainer: FSF
@@ -266,6 +267,11 @@ Default value, nil, means edit the string instead."
;; Several non-printing chars change the searching behavior.
(define-key map "\C-s" 'isearch-repeat-forward)
(define-key map "\C-r" 'isearch-repeat-backward)
+ ;; Define M-C-s and M-C-r like C-s and C-r so that the same key
+ ;; combinations can be used to repeat regexp isearches that can
+ ;; be used to start these searches.
+ (define-key map "\M-\C-s" 'isearch-repeat-forward)
+ (define-key map "\M-\C-r" 'isearch-repeat-backward)
(define-key map "\177" 'isearch-delete-char)
(define-key map "\C-g" 'isearch-abort)
;; This assumes \e is the meta-prefix-char.