aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2004-11-01 13:50:49 +0000
committerJan Djärv2004-11-01 13:50:49 +0000
commita4cabe41c25d17c79d25191fe64f28a0e209caf6 (patch)
tree3d3eed00e4529bc821357c1f3028adc95ad709cf
parent03a693b48abb72239e081a1a583e1e21aa07638f (diff)
downloademacs-a4cabe41c25d17c79d25191fe64f28a0e209caf6.tar.gz
emacs-a4cabe41c25d17c79d25191fe64f28a0e209caf6.zip
(mouse-yank-at-click, mouse-yank-secondary): Revert
change from 2004-10-16. '*' checks the current buffer, but the mouse click may be in another buffer.
-rw-r--r--lisp/mouse.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 8f05324d84d..2a467aa8069 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -1112,7 +1112,7 @@ and set mark at the beginning.
1112Prefix arguments are interpreted as with \\[yank]. 1112Prefix arguments are interpreted as with \\[yank].
1113If `mouse-yank-at-point' is non-nil, insert at point 1113If `mouse-yank-at-point' is non-nil, insert at point
1114regardless of where you click." 1114regardless of where you click."
1115 (interactive "*e\nP") 1115 (interactive "e\nP")
1116 ;; Give temporary modes such as isearch a chance to turn off. 1116 ;; Give temporary modes such as isearch a chance to turn off.
1117 (run-hooks 'mouse-leave-buffer-hook) 1117 (run-hooks 'mouse-leave-buffer-hook)
1118 (or mouse-yank-at-point (mouse-set-point click)) 1118 (or mouse-yank-at-point (mouse-set-point click))
@@ -1414,7 +1414,7 @@ The function returns a non-nil value if it creates a secondary selection."
1414Move point to the end of the inserted text. 1414Move point to the end of the inserted text.
1415If `mouse-yank-at-point' is non-nil, insert at point 1415If `mouse-yank-at-point' is non-nil, insert at point
1416regardless of where you click." 1416regardless of where you click."
1417 (interactive "*e") 1417 (interactive "e")
1418 ;; Give temporary modes such as isearch a chance to turn off. 1418 ;; Give temporary modes such as isearch a chance to turn off.
1419 (run-hooks 'mouse-leave-buffer-hook) 1419 (run-hooks 'mouse-leave-buffer-hook)
1420 (or mouse-yank-at-point (mouse-set-point click)) 1420 (or mouse-yank-at-point (mouse-set-point click))