Mercurial > emacs
changeset 25572:ab9550c61b8a
(isearch-mode-map): Add mouse-2.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 06 Sep 1999 21:33:27 +0000 |
parents | 86658a5ab908 |
children | 88e06b93347b |
files | lisp/isearch.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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) ))