From cde08ac929c7c9eb9f6bf75345d56f84b9eaa1fb Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 10 Nov 2010 00:42:42 -0800 Subject: [PATCH] * doc/lispref/text.texi (Kill Functions, Low-Level Kill Ring): Small fixes. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/text.texi | 16 +++++++--------- 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 + + * text.texi (Kill Functions, Low-Level Kill Ring): Small fixes. + 2010-10-27 Glenn Morris * 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 + -- 2.39.2