Commit 5e0cb17b authored by Kim F. Storm's avatar Kim F. Storm
Browse files

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

Use zero width overlays when necessary.
parent 303e592c
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment