summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-11-10 00:42:42 -0800
committerGlenn Morris <rgm@gnu.org>2010-11-10 00:42:42 -0800
commitcde08ac929c7c9eb9f6bf75345d56f84b9eaa1fb (patch)
tree82a9094d1f876e208d094366bc4671d1a4dd1c82 /doc/lispref
parente6068ab30281a6a494b3dbc2287832e2739cd2be (diff)
downloademacs-cde08ac929c7c9eb9f6bf75345d56f84b9eaa1fb.tar.gz
* doc/lispref/text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/text.texi16
2 files changed, 11 insertions, 9 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 5974893288a..5f67371f3a6 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-10 Glenn Morris <rgm@gnu.org>
+
+ * text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.
+
2010-10-27 Glenn Morris <rgm@gnu.org>
* maps.texi (Standard Keymaps): Update File menu description.
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index a7c4a3e62f4..2510607475b 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -900,10 +900,10 @@ from the buffer. It returns @code{nil}.
The command does not set @code{this-command} to @code{kill-region}, so a
subsequent kill command does not append to the same kill ring entry.
-Don't call @code{copy-region-as-kill} in Lisp programs unless you aim to
-support Emacs 18. For newer Emacs versions, it is better to use
-@code{kill-new} or @code{kill-append} instead. @xref{Low-Level Kill
-Ring}.
+@c FIXME Why is it better? Why isn't copy-region-as-kill obsolete then?
+@c Why is it used in many places in Emacs?
+In Lisp programs, it is better to use @code{kill-new} or
+@code{kill-append} instead of this command. @xref{Low-Level Kill Ring}.
@end deffn
@node Yanking
@@ -1041,8 +1041,8 @@ text property, if there is one.
@subsection Low-Level Kill Ring
These functions and variables provide access to the kill ring at a
-lower level, but still convenient for use in Lisp programs, because they
-take care of interaction with window system selections
+lower level, but are still convenient for use in Lisp programs,
+because they take care of interaction with window system selections
(@pxref{Window System Selections}).
@defun current-kill n &optional do-not-move
@@ -4279,6 +4279,4 @@ code that is itself run from a modification hook, then rebind locally
@code{inhibit-modification-hooks} to @code{nil}.
@end defvar
-@ignore
- arch-tag: 3721e738-a1cb-4085-bc1a-6cb8d8e1d32b
-@end ignore
+