aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-27 22:05:53 +0000
committerRichard M. Stallman1998-04-27 22:05:53 +0000
commit57ff063d0b21457e9087aa91a5e152dc1bcf6002 (patch)
tree702635fb455fd63af6e585c91b0d5bd6f15141d2
parentf4b50f66eeaf4de7844f8decfdfff7e3fe57fda0 (diff)
downloademacs-57ff063d0b21457e9087aa91a5e152dc1bcf6002.tar.gz
emacs-57ff063d0b21457e9087aa91a5e152dc1bcf6002.zip
(isearch-yank-x-selection): Doc fix.
-rw-r--r--lisp/isearch.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index bcc82b79b8b..05710466adc 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -966,7 +966,11 @@ If no previous match was done, just beep."
966 (isearch-yank-string (current-kill 0))) 966 (isearch-yank-string (current-kill 0)))
967 967
968(defun isearch-yank-x-selection () 968(defun isearch-yank-x-selection ()
969 "Pull current X selection into search string." 969 "Pull current X selection into search string.
970Some users like to put this command on Mouse-2.
971To do that, evaluate these expressions:
972 (define-key isearch-mode-map [down-mouse-2] nil)
973 (define-key isearch-mode-map [mouse-2] 'isearch-yank-x-selection)"
970 (interactive) 974 (interactive)
971 (isearch-yank-string (x-get-selection))) 975 (isearch-yank-string (x-get-selection)))
972 976