Fix deactivate-mark issue when expanding selection to text objects.
authorTim Harper <timcharper@gmail.com>
Fri, 23 Jul 2010 06:37:37 +0000 (00:37 -0600)
committerVegard Øye <vegard_oye@hotmail.com>
Fri, 23 Jul 2010 09:35:18 +0000 (11:35 +0200)
commit9b9c0298530f6e11a251db7b44a84537d9cab46e
treed89ef1093125af2bf58dcf53e7a0fbb9274ade3a
parent9855147f051b5bbb94a1915519559b598f7ccd06
Fix deactivate-mark issue when expanding selection to text objects.
When Cua mode is active, commands such as viw, viW, vis, etc. would exit Visual mode because Cua mode, on activation, sets deactivate-mark to t, and deactivate-mark isn't protected by save-excursion. This change prevents that, and therefore fixes this issue.
vimpulse-visual-mode.el