HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9a64c
)
(isearch-mode-map): Add mouse-2.
author
Dave Love
<fx@gnu.org>
Mon, 6 Sep 1999 21:33:27 +0000
(21:33 +0000)
committer
Dave Love
<fx@gnu.org>
Mon, 6 Sep 1999 21:33:27 +0000
(21:33 +0000)
lisp/isearch.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index
99fb61e
..
0cd1e76
100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-312,6
+312,10
@@
Default value, nil, means edit the string instead."
(define-key map "\C-\\" 'isearch-toggle-input-method)
(define-key map "\C-^" 'isearch-toggle-specified-input-method)
+ ;; People expect to be able to paste with the mouse.
+ (define-key map [mouse-2] #'isearch-yank-kill)
+ (define-key map [down-mouse-2] nil)
+
(setq isearch-mode-map map)
))