From: Richard M. Stallman Date: Fri, 19 Sep 2003 14:38:03 +0000 (+0000) Subject: (Word Motion): forward-word, backward-word arg is optional. Reword. X-Git-Tag: ttn-vms-21-2-B4~8805 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=033a0350067590231cbe982c9d0f25cc5474ef1c;p=emacs.git (Word Motion): forward-word, backward-word arg is optional. Reword. --- diff --git a/lispref/positions.texi b/lispref/positions.texi index 6248d4d651d..1397445766f 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi @@ -185,7 +185,7 @@ In an interactive call, @var{count} is the numeric prefix argument. These functions for parsing words use the syntax table to decide whether a given character is part of a word. @xref{Syntax Tables}. -@deffn Command forward-word count +@deffn Command forward-word &optional count This function moves point forward @var{count} words (or backward if @var{count} is negative). ``Moving one word'' means moving until point crosses a word-constituent character and then encounters a @@ -203,19 +203,12 @@ If @code{inhibit-field-text-motion} is non-@code{nil}, this function ignores field boundaries. In an interactive call, @var{count} is specified by the numeric prefix -argument. +argument. If @var{count} is omitted or @code{nil}, it defaults to 1. @end deffn -@deffn Command backward-word count +@deffn Command backward-word &optional count This function is just like @code{forward-word}, except that it moves backward until encountering the front of a word, rather than forward. - -In an interactive call, @var{count} is set to the numeric prefix -argument. - -@c [Now optimized by compiler.] -@c This function is rarely used in programs, as it is more efficient to -@c call @code{forward-word} with a negative argument. @end deffn @defvar words-include-escapes