comparison man/lispref/text.texi @ 446:1ccc32a20af4 r21-2-38

Import from CVS: tag r21-2-38
author cvs
date Mon, 13 Aug 2007 11:37:21 +0200
parents 576fb035e263
children 37e56e920ac5
comparison
equal deleted inserted replaced
445:34f3776fcf0e 446:1ccc32a20af4
474 This command deletes the text in @var{buffer} in the region defined by 474 This command deletes the text in @var{buffer} in the region defined by
475 @var{start} and @var{end}. The value is @code{nil}. If optional 475 @var{start} and @var{end}. The value is @code{nil}. If optional
476 argument @var{buffer} is @code{nil}, the current buffer is assumed. 476 argument @var{buffer} is @code{nil}, the current buffer is assumed.
477 @end deffn 477 @end deffn
478 478
479 @deffn Command delete-char count &optional killp 479 @deffn Command delete-char &optional count killp
480 This command deletes @var{count} characters directly after point, or 480 This command deletes @var{count} characters directly after point, or
481 before point if @var{count} is negative. If @var{killp} is 481 before point if @var{count} is negative. @var{count} defaults to @code{1}.
482 non-@code{nil}, then it saves the deleted characters in the kill ring. 482 If @var{killp} is non-@code{nil}, then it saves the deleted characters
483 in the kill ring.
483 484
484 In an interactive call, @var{count} is the numeric prefix argument, and 485 In an interactive call, @var{count} is the numeric prefix argument, and
485 @var{killp} is the unprocessed prefix argument. Therefore, if a prefix 486 @var{killp} is the unprocessed prefix argument. Therefore, if a prefix
486 argument is supplied, the text is saved in the kill ring. If no prefix 487 argument is supplied, the text is saved in the kill ring. If no prefix
487 argument is supplied, then one character is deleted, but not saved in 488 argument is supplied, then one character is deleted, but not saved in
488 the kill ring. 489 the kill ring.
489 490
490 The value returned is always @code{nil}. 491 The value returned is always @code{nil}.
491 @end deffn 492 @end deffn
492 493
493 @deffn Command delete-backward-char count &optional killp 494 @deffn Command delete-backward-char &optional count killp
494 @cindex delete previous char 495 @cindex delete previous char
495 This command deletes @var{count} characters directly before point, or 496 This command deletes @var{count} characters directly before point, or
496 after point if @var{count} is negative. If @var{killp} is 497 after point if @var{count} is negative. @var{count} defaults to 1.
497 non-@code{nil}, then it saves the deleted characters in the kill ring. 498 If @var{killp} is non-@code{nil}, then it saves the deleted characters
499 in the kill ring.
498 500
499 In an interactive call, @var{count} is the numeric prefix argument, and 501 In an interactive call, @var{count} is the numeric prefix argument, and
500 @var{killp} is the unprocessed prefix argument. Therefore, if a prefix 502 @var{killp} is the unprocessed prefix argument. Therefore, if a prefix
501 argument is supplied, the text is saved in the kill ring. If no prefix 503 argument is supplied, the text is saved in the kill ring. If no prefix
502 argument is supplied, then one character is deleted, but not saved in 504 argument is supplied, then one character is deleted, but not saved in