From: Chong Yidong Date: Sat, 14 Aug 2010 23:21:40 +0000 (-0400) Subject: * simple.el (kill-region): Doc fix (Bug#6787). X-Git-Tag: emacs-pretest-23.2.90~139^2~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4aae1a5322c264d5b9d2f605a4b31acec78e526;p=emacs.git * simple.el (kill-region): Doc fix (Bug#6787). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 718f6f402e5..a0cdf2f8a77 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-14 Chong Yidong + + * simple.el (kill-region): Doc fix (Bug#6787). + 2010-08-14 Glenn Morris * calendar/diary-lib.el (diary-header-line-format): diff --git a/lisp/simple.el b/lisp/simple.el index d0c27656e41..9b38f3cdbf3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2959,7 +2959,8 @@ 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. -This is the primitive for programs to kill text (as opposed to deleting it). +Lisp programs should use this function for killing text. + (To delete text, use `delete-region'.) Supply two arguments, character positions indicating the stretch of text to be killed. Any command that calls this function is a \"kill command\".