diff options
| author | Dave Love | 1999-09-06 21:33:27 +0000 |
|---|---|---|
| committer | Dave Love | 1999-09-06 21:33:27 +0000 |
| commit | c9961ecaeb343d9c8874d92a83672280d90cdf69 (patch) | |
| tree | b600070e33f73cfd2c41f7657afb1aa0775c0a5f | |
| parent | 8b9a64c2f8bf1ebfa1f0fbf9c0dd28f064089ab7 (diff) | |
| download | emacs-c9961ecaeb343d9c8874d92a83672280d90cdf69.tar.gz emacs-c9961ecaeb343d9c8874d92a83672280d90cdf69.zip | |
(isearch-mode-map): Add mouse-2.
| -rw-r--r-- | lisp/isearch.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 99fb61e1572..0cd1e76ac98 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -312,6 +312,10 @@ Default value, nil, means edit the string instead." | |||
| 312 | (define-key map "\C-\\" 'isearch-toggle-input-method) | 312 | (define-key map "\C-\\" 'isearch-toggle-input-method) |
| 313 | (define-key map "\C-^" 'isearch-toggle-specified-input-method) | 313 | (define-key map "\C-^" 'isearch-toggle-specified-input-method) |
| 314 | 314 | ||
| 315 | ;; People expect to be able to paste with the mouse. | ||
| 316 | (define-key map [mouse-2] #'isearch-yank-kill) | ||
| 317 | (define-key map [down-mouse-2] nil) | ||
| 318 | |||
| 315 | (setq isearch-mode-map map) | 319 | (setq isearch-mode-map map) |
| 316 | )) | 320 | )) |
| 317 | 321 | ||