When restoring the Visual selection, don't contract region if end is bolp.
authorVegard Øye <vegard_oye@hotmail.com>
Sun, 1 Aug 2010 22:45:21 +0000 (00:45 +0200)
committerVegard Øye <vegard_oye@hotmail.com>
Sun, 1 Aug 2010 22:45:21 +0000 (00:45 +0200)
commitf35a5dce0be783c09298eb52dace5bca17f278c1
treeaf3de59ecd0ba17de4c055fb352e7c54bbc4418e
parent4c40cc12ec4809ff48bac92590685712098a7f31
When restoring the Visual selection, don't contract region if end is bolp.

Since the selection is restored on the basis of the expanded values of
point and mark, we need to contract it. However,
`vimpulse-visual-mark' and `vimpulse-visual-point' may get "unnatural"
positions if text is deleted: for example, the end of the selection
would never occur at the very beginning of a line, since the first
character would be included in the selection. In such a case,
contraction would be errorneous and should be avoided.
vimpulse-visual-mode.el