Don't let kill-ring-save show extent if transient-mark-mode and region

fully visible.
This commit is contained in:
Kim F. Storm 2001-10-19 23:25:34 +00:00
parent 37a9305ef3
commit db6f8ff125
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-10-20 Kim F. Storm <storm@cua.dk>
* simple.el (kill-ring-save): Don't show extent of copied region
if using transient-mark-mode and region is fully visible.
2001-10-19 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (auto-mode-alist): Associate .indent.pro with

View file

@ -1797,7 +1797,7 @@ 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))
(progn
(unless transient-mark-mode
;; Swap point and mark.
(set-marker (mark-marker) (point) (current-buffer))
(goto-char other-end)