* lisp/emulation/cua-base.el (cua-paste): Add `delete-selection' property
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Dec 2013 14:49:01 +0000 (09:49 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Dec 2013 14:49:01 +0000 (09:49 -0500)
commit5b4f37ab9c9e7aa5472c47d9e9c2b508344f4858
treed2ab7bb78895def4000540debe622187d109b655
parent4ec52e2f8c1697994618b4bdfd013659f6defb1b
* lisp/emulation/cua-base.el (cua-paste): Add `delete-selection' property
instead of deleting the selection "by hand".
Rely on insert-for-yank to yank rectangles.
(cua-highlight-region-shift-only): Mark obsolete.
(cua-mode): Don't enable/disable transient-mark-mode,
shift-select-mode (cua-mode works both with and without them), and
pc-selection-mode (obsolete).
* lisp/emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
(cua--deactivate-rectangle): Deactivate it.

Fixes: debbugs:16098
lisp/ChangeLog
lisp/emulation/cua-base.el
lisp/emulation/cua-rect.el