diff lisp/isearch.el @ 25572:ab9550c61b8a

(isearch-mode-map): Add mouse-2.
author Dave Love <fx@gnu.org>
date Mon, 06 Sep 1999 21:33:27 +0000
parents ef8649234d91
children 2ae0f7963ccc
line wrap: on
line diff
--- a/lisp/isearch.el	Mon Sep 06 21:24:50 1999 +0000
+++ b/lisp/isearch.el	Mon Sep 06 21:33:27 1999 +0000
@@ -312,6 +312,10 @@
       (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)
       ))