]> git.eshelyaron.com Git - emacs.git/commitdiff
(Word Motion): forward-word, backward-word arg is optional. Reword.
authorRichard M. Stallman <rms@gnu.org>
Fri, 19 Sep 2003 14:38:03 +0000 (14:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 19 Sep 2003 14:38:03 +0000 (14:38 +0000)
lispref/positions.texi

index 6248d4d651dd839b234d9bf3e460587cca0b1c5e..1397445766f1cb1e93a9b77de52e66c4f9af8d9c 100644 (file)
@@ -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