Fix mouse dragging of words and lines (Bug#6840).
commit6d3e82d2d656d7ed27b374f62c320c7d58348248
authorChong Yidong <cyd@stupidchicken.com>
Mon, 16 Aug 2010 02:08:01 +0000 (15 22:08 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 16 Aug 2010 02:08:01 +0000 (15 22:08 -0400)
tree75ab05ad4775d58a4af3d96392515445cf01d4e5
parent4e815860f5d5b2fed99a44657b0a9d16d92ea57d
Fix mouse dragging of words and lines (Bug#6840).

* mouse.el (mouse--drag-set-mark-and-point): New function.
(mouse-drag-track): Use LOCATION arg to push-mark.  Use
mouse--drag-set-mark-and-point to take click-count into
consideration when updating point and mark (Bug#6840).
lisp/ChangeLog
lisp/mouse.el