* w32-fns.el (x-selection-owner-p): New function.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 17 Jul 2009 15:45:08 +0000 (15:45 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 17 Jul 2009 15:45:08 +0000 (15:45 +0000)
commit3f5c9cad1790b08f123b2bf81aa090b23e416f25
treeca2fdda1e0c254f4f033cfa84afb5d62b3001809
parentdb170c743ed325cbd0ed5c3ab93a1c07a0ec504f
* w32-fns.el (x-selection-owner-p): New function.

* mouse.el (mouse-drag-track): Call deactivate-mark earlier.
(mouse-yank-at-click): If select-active-regions is non-nil,
deactivate the mark before insertion.

* simple.el (deactivate-mark, set-mark): Only save selection if we
own it.
lisp/ChangeLog
lisp/mouse.el
lisp/simple.el
lisp/w32-fns.el