aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2004-04-30 21:38:23 +0000
committerKim F. Storm <[email protected]>2004-04-30 21:38:23 +0000
commit977e2654712bb942ee3c9d34f42766aa899d8e01 (patch)
tree75d728e249f0d20a78e508e23ceecad799ad4b61 /lisp/simple.el
parentb2dae92a19717dad61eb43480a76df01e63376fd (diff)
(kill-ring-save): If region face background color is
unspecified (if no highlighting), show extent of fully visible region even if transient-mark-mode is enabled.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 80c16726c5..b32d240888 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2144,7 +2144,8 @@ visual feedback indicating the extent of the region being copied."
;; look like a C-g typed as a command.
(inhibit-quit t))
(if (pos-visible-in-window-p other-end (selected-window))
- (unless transient-mark-mode
+ (unless (and transient-mark-mode
+ (face-background 'region))
;; Swap point and mark.
(set-marker (mark-marker) (point) (current-buffer))
(goto-char other-end)