summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-11-26 23:30:43 +0000
committerKim F. Storm <storm@cua.dk>2005-11-26 23:30:43 +0000
commit98faed9f39c86062568c7e6ca87a04f276973303 (patch)
tree058a4ec9efb50c382e4f323562db3e9d28d4308c /lisp
parentb14935df20f5df5d04a559c112f05938446008b8 (diff)
downloademacs-98faed9f39c86062568c7e6ca87a04f276973303.tar.gz
(cua--highlight-rectangle): Preserve
existing face when partially highlighting a TAB in a rectangle.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emulation/cua-rect.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el
index d83ebd543cd..35132e60e8d 100644
--- a/lisp/emulation/cua-rect.el
+++ b/lisp/emulation/cua-rect.el
@@ -781,7 +781,7 @@ If command is repeated at same position, delete the rectangle."
(make-string
(- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
(if cua--virtual-edges-debug ?. ?\s))
- 'face 'default))
+ 'face (or (get-text-property (1- s) 'face) 'default)))
(if (/= pl le)
(setq s (1- s))))
(cond