Mercurial > emacs
diff lisp/simple.el @ 40069:bd85ab6cffed
Don't let kill-ring-save show extent if transient-mark-mode and region
fully visible.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 19 Oct 2001 23:24:26 +0000 |
parents | 3f454d4a2b7c |
children | a0dc24114eee |
line wrap: on
line diff
--- a/lisp/simple.el Fri Oct 19 22:12:42 2001 +0000 +++ b/lisp/simple.el Fri Oct 19 23:24:26 2001 +0000 @@ -1797,7 +1797,7 @@ ;; 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)