# HG changeset patch # User Karl Heuer # Date 784419055 0 # Node ID 75ecf866cfb8eb93181e08c9d01abcc30b6e01a3 # Parent 463fd155c78d271f5267ea1c49e089d02ff217b3 Comment reason for preceding change. diff -r 463fd155c78d -r 75ecf866cfb8 lisp/simple.el --- a/lisp/simple.el Wed Nov 09 21:09:27 1994 +0000 +++ b/lisp/simple.el Wed Nov 09 22:10:55 1994 +0000 @@ -1139,6 +1139,9 @@ (copy-region-as-kill beg end) (delete-region beg end)))) +;; copy-region-as-kill no longer sets this-command, because it's confusing +;; to get two copies of the text when the user accidentally types M-w and +;; then corrects it with the intended C-w. (defun copy-region-as-kill (beg end) "Save the region as if killed, but don't kill it. If `interprogram-cut-function' is non-nil, also save the text for a window