diff options
| author | Karl Heuer | 1994-11-09 22:10:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-09 22:10:55 +0000 |
| commit | a382890aab9a7f56217ed62f47ad70f074cf0003 (patch) | |
| tree | 8089d703d50e333153cb333a534df14990d91a05 | |
| parent | 01345308265171acae1d4f2076a984e27bb9a94f (diff) | |
| download | emacs-a382890aab9a7f56217ed62f47ad70f074cf0003.tar.gz emacs-a382890aab9a7f56217ed62f47ad70f074cf0003.zip | |
Comment reason for preceding change.
| -rw-r--r-- | lisp/simple.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 0c54a896b68..9eb16684888 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1139,6 +1139,9 @@ to make one entry in the kill ring." | |||
| 1139 | (copy-region-as-kill beg end) | 1139 | (copy-region-as-kill beg end) |
| 1140 | (delete-region beg end)))) | 1140 | (delete-region beg end)))) |
| 1141 | 1141 | ||
| 1142 | ;; copy-region-as-kill no longer sets this-command, because it's confusing | ||
| 1143 | ;; to get two copies of the text when the user accidentally types M-w and | ||
| 1144 | ;; then corrects it with the intended C-w. | ||
| 1142 | (defun copy-region-as-kill (beg end) | 1145 | (defun copy-region-as-kill (beg end) |
| 1143 | "Save the region as if killed, but don't kill it. | 1146 | "Save the region as if killed, but don't kill it. |
| 1144 | If `interprogram-cut-function' is non-nil, also save the text for a window | 1147 | If `interprogram-cut-function' is non-nil, also save the text for a window |