aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2006-08-17 03:36:17 +0000
committerStefan Monnier <[email protected]>2006-08-17 03:36:17 +0000
commit3e9323d603b0b47ab47af3398a8154b13d2d7e13 (patch)
tree50488a2f144d36ae5d1bbdce11e0c2174e264b65 /lisp/mouse.el
parent3d93bda58994eed209f514a6f4aeb733516c4510 (diff)
(global-map): Allow yanking with mouse-2 at a spot whose
cursor would normally be drawn in the fringe.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 043c78578d..4e11b1d4c9 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2398,6 +2398,8 @@ and selects that window."
(global-set-key [right-fringe mouse-1] 'mouse-set-point)
(global-set-key [mouse-2] 'mouse-yank-at-click)
+;; Allow yanking also when the corresponding cursor is "in the fringe".
+(global-set-key [right-fringe mouse-2] [mouse-2])
(global-set-key [mouse-3] 'mouse-save-then-kill)
;; By binding these to down-going events, we let the user use the up-going