]> git.eshelyaron.com Git - emacs.git/commitdiff
<left-fringe mouse-2, right-fringe mouse-3, left-fringe mouse-3>: New bindings.
authorEli Zaretskii <eliz@gnu.org>
Fri, 2 Feb 2007 14:42:38 +0000 (14:42 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 2 Feb 2007 14:42:38 +0000 (14:42 +0000)
lisp/mouse.el

index c221a9bee99661de782900c04142cb1d7f45e3cc..dae098ec11792177db9ca494c43e9b76e8484013 100644 (file)
@@ -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.