Commit c9961eca authored by Dave Love's avatar Dave Love
Browse files

(isearch-mode-map): Add mouse-2.

parent 8b9a64c2
......@@ -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)
))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment