From 815588675f7851e5d23dd1edfa4fa528cfd81b3c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Feb 2001 12:09:39 +0000 Subject: [PATCH] (kill-region, kill-line, kill-ring-save): Doc fix. --- lisp/ChangeLog | 2 ++ lisp/simple.el | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 30eba6bf269..ecb3b657807 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2001-02-16 Eli Zaretskii + * simple.el (kill-region, kill-line, kill-ring-save): Doc fix. + * progmodes/compile.el (grep-regexp-alist): Remove the blank from the character class after the (optional) drive, to support file names with embedded blanks. diff --git a/lisp/simple.el b/lisp/simple.el index bb8f3c72126..510c07e8ddc 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1753,7 +1753,11 @@ yanking point; just return the Nth kill forward." "Kill between point and mark. The text is deleted but saved in the kill ring. The command \\[yank] can retrieve it from there. -\(If you want to kill and then yank immediately, use \\[copy-region-as-kill].) +\(If you want to kill and then yank immediately, use \\[kill-ring-save].) + +If you want to append the killed region to the last killed text, +use \\[append-next-kill] before \\[kill-region]. + If the buffer is read-only, Emacs will beep and refrain from deleting the text, but put the text in the kill ring anyway. This means that you can use the killing commands to copy text from a read-only buffer. @@ -1813,6 +1817,9 @@ In Transient Mark mode, deactivate the mark. If `interprogram-cut-function' is non-nil, also save the text for a window system cut and paste. +If you want to append the killed line to the last killed text, +use \\[append-next-kill] before \\[kill-ring-save]. + This command is similar to `copy-region-as-kill', except that it gives visual feedback indicating the extent of the region being copied." (interactive "r") @@ -2015,6 +2022,9 @@ including its terminating newline, when used at the beginning of a line with no argument. As a consequence, you can always kill a whole line by typing \\[beginning-of-line] \\[kill-line]. +If you want to append the killed line to the last killed text, +use \\[append-next-kill] before \\[kill-line]. + If the buffer is read-only, Emacs will beep and refrain from deleting the line, but put the line in the kill ring anyway. This means that you can use this command to copy text from a read-only buffer." -- 2.39.5