mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 21:41:40 -07:00
(isearch-mode-map): Add mouse-2.
This commit is contained in:
parent
8b9a64c2f8
commit
c9961ecaeb
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue