aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-09-19 14:38:03 +0000
committerRichard M. Stallman2003-09-19 14:38:03 +0000
commit033a0350067590231cbe982c9d0f25cc5474ef1c (patch)
tree7c7613911d5fc50091312d0372b6ee9f9af38d21
parent259c7ed4bd2d01f92824633f487aaf33e315572c (diff)
downloademacs-033a0350067590231cbe982c9d0f25cc5474ef1c.tar.gz
emacs-033a0350067590231cbe982c9d0f25cc5474ef1c.zip
(Word Motion): forward-word, backward-word arg is optional. Reword.
-rw-r--r--lispref/positions.texi13
1 files changed, 3 insertions, 10 deletions
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.
185 These functions for parsing words use the syntax table to decide 185 These functions for parsing words use the syntax table to decide
186whether a given character is part of a word. @xref{Syntax Tables}. 186whether a given character is part of a word. @xref{Syntax Tables}.
187 187
188@deffn Command forward-word count 188@deffn Command forward-word &optional count
189This function moves point forward @var{count} words (or backward if 189This function moves point forward @var{count} words (or backward if
190@var{count} is negative). ``Moving one word'' means moving until point 190@var{count} is negative). ``Moving one word'' means moving until point
191crosses a word-constituent character and then encounters a 191crosses a word-constituent character and then encounters a
@@ -203,19 +203,12 @@ If @code{inhibit-field-text-motion} is non-@code{nil},
203this function ignores field boundaries. 203this function ignores field boundaries.
204 204
205In an interactive call, @var{count} is specified by the numeric prefix 205In an interactive call, @var{count} is specified by the numeric prefix
206argument. 206argument. If @var{count} is omitted or @code{nil}, it defaults to 1.
207@end deffn 207@end deffn
208 208
209@deffn Command backward-word count 209@deffn Command backward-word &optional count
210This function is just like @code{forward-word}, except that it moves 210This function is just like @code{forward-word}, except that it moves
211backward until encountering the front of a word, rather than forward. 211backward until encountering the front of a word, rather than forward.
212
213In an interactive call, @var{count} is set to the numeric prefix
214argument.
215
216@c [Now optimized by compiler.]
217@c This function is rarely used in programs, as it is more efficient to
218@c call @code{forward-word} with a negative argument.
219@end deffn 212@end deffn
220 213
221@defvar words-include-escapes 214@defvar words-include-escapes