# HG changeset patch # User Chong Yidong # Date 1281828100 14400 # Node ID 34afb1a49d4c1d55971e1921780c8eb29576a5e4 # Parent 9b6d3348021648ace388ef78fb9bb036f61fa569 * simple.el (kill-region): Doc fix (Bug#6787). diff -r 9b6d33480216 -r 34afb1a49d4c lisp/ChangeLog --- a/lisp/ChangeLog Sat Aug 14 10:20:08 2010 +0200 +++ b/lisp/ChangeLog Sat Aug 14 19:21:40 2010 -0400 @@ -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 -r 9b6d33480216 -r 34afb1a49d4c lisp/simple.el --- a/lisp/simple.el Sat Aug 14 10:20:08 2010 +0200 +++ b/lisp/simple.el Sat Aug 14 19:21:40 2010 -0400 @@ -2959,7 +2959,8 @@ 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\".