changeset 109926:34afb1a49d4c

* simple.el (kill-region): Doc fix (Bug#6787).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 14 Aug 2010 19:21:40 -0400
parents 9b6d33480216
children 3610d3eb3cab
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <cyd@stupidchicken.com>
+
+	* simple.el (kill-region): Doc fix (Bug#6787).
+
 2010-08-14  Glenn Morris  <rgm@gnu.org>
 
 	* calendar/diary-lib.el (diary-header-line-format):
--- 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\".