(cua--highlight-rectangle): Fix last change.

Use zero width overlays when necessary.
This commit is contained in:
Kim F. Storm 2004-09-08 13:07:50 +00:00
parent 303e592ca7
commit 5e0cb17bad

View file

@ -778,7 +778,6 @@ If command is repeated at same position, delete the rectangle."
'(lambda (s e l r v)
(let ((rface (if v 'cua-rectangle-face 'cua-rectangle-noselect-face))
overlay bs ms as)
(if (= s e) (setq e (1+ e)))
(when (cua--rectangle-virtual-edges)
(let ((lb (line-beginning-position))
(le (line-end-position))