summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-03-06 13:24:11 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-03-06 13:24:11 -0500
commit892777baa1739fa5f1f2d1c2975488c3e6f57bae (patch)
treeae24eefa9adde944ffce1a3d3bb87e92272d6553 /lisp/isearch.el
parent804a116c9d1bae9e7f0feb48657ad44691a4557c (diff)
downloademacs-892777baa1739fa5f1f2d1c2975488c3e6f57bae.tar.gz
Bind C-y in Isearch to isearch-yank-kill.
* lisp/isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill, and move isearch-yank-line to M-s C-e. * doc/emacs/search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 5aadac4a3b1..e13d9673514 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -464,7 +464,8 @@ This is like `describe-bindings', but displays only Isearch keys."
(define-key map "\C-w" 'isearch-yank-word-or-char)
(define-key map "\M-\C-w" 'isearch-del-char)
(define-key map "\M-\C-y" 'isearch-yank-char)
- (define-key map "\C-y" 'isearch-yank-line)
+ (define-key map "\C-y" 'isearch-yank-kill)
+ (define-key map "\M-s\C-e" 'isearch-yank-line)
(define-key map (char-to-string help-char) isearch-help-map)
(define-key map [help] isearch-help-map)