Cleanups and fixes for mouse-save-then-kill and mouse-secondary-save-then-kill.
commitd2625c3ded73eb75c43a8c0a7f20d624e85628a1
authorChong Yidong <cyd@stupidchicken.com>
Sat, 21 Aug 2010 04:46:23 +0000 (21 00:46 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 21 Aug 2010 04:46:23 +0000 (21 00:46 -0400)
treedfdb597e0beed4d8215aff454677379c88e69ed9
parent80525855696044e98ecb3a781f294f4b31f13558
Cleanups and fixes for mouse-save-then-kill and mouse-secondary-save-then-kill.

* mouse.el (mouse-save-then-kill): Don't save region to kill ring
when extending it.  Before killing on the second click, check if
the buffer is the correct one.  Doc fix.
(mouse-secondary-save-then-kill): Allow usage without first
calling mouse-start-secondary, by defaulting to point.  Don't save
an empty secondary selection.  Doc fix.
lisp/ChangeLog
lisp/mouse.el