# HG changeset patch # User Richard M. Stallman # Date 1063982283 0 # Node ID b0b4c9f22ee70cfea474def0eac78c45972c2633 # Parent 8c622de0d2ed61828e51e7b0c165205ac3bc279a (Word Motion): forward-word, backward-word arg is optional. Reword. diff -r 8c622de0d2ed -r b0b4c9f22ee7 lispref/positions.texi --- a/lispref/positions.texi Fri Sep 19 14:36:59 2003 +0000 +++ b/lispref/positions.texi Fri Sep 19 14:38:03 2003 +0000 @@ -185,7 +185,7 @@ 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 @@ 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