summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2007-02-02 14:42:38 +0000
committerEli Zaretskii <eliz@gnu.org>2007-02-02 14:42:38 +0000
commit84e42e60e1660e9f20f0b2a785a08d452a8b12c2 (patch)
tree456c58bbef65a853d0f27738e17e3e1d9a2ed3a5 /lisp
parent4bbe413d84924183ffabfc4486edb5e5da0a3059 (diff)
downloademacs-84e42e60e1660e9f20f0b2a785a08d452a8b12c2.tar.gz
<left-fringe mouse-2, right-fringe mouse-3, left-fringe mouse-3>: New bindings.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mouse.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index c221a9bee99..dae098ec117 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2426,7 +2426,10 @@ and selects that window."
(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-yank-at-click)
+(global-set-key [left-fringe mouse-2] 'mouse-yank-at-click)
(global-set-key [mouse-3] 'mouse-save-then-kill)
+(global-set-key [right-fringe mouse-3] 'mouse-save-then-kill)
+(global-set-key [left-fringe mouse-3] 'mouse-save-then-kill)
;; By binding these to down-going events, we let the user use the up-going
;; event to make the selection, saving a click.