diff options
| author | Richard M. Stallman | 2003-09-19 14:38:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-09-19 14:38:03 +0000 |
| commit | 033a0350067590231cbe982c9d0f25cc5474ef1c (patch) | |
| tree | 7c7613911d5fc50091312d0372b6ee9f9af38d21 | |
| parent | 259c7ed4bd2d01f92824633f487aaf33e315572c (diff) | |
| download | emacs-033a0350067590231cbe982c9d0f25cc5474ef1c.tar.gz emacs-033a0350067590231cbe982c9d0f25cc5474ef1c.zip | |
(Word Motion): forward-word, backward-word arg is optional. Reword.
| -rw-r--r-- | lispref/positions.texi | 13 |
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 |
| 186 | whether a given character is part of a word. @xref{Syntax Tables}. | 186 | whether 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 |
| 189 | This function moves point forward @var{count} words (or backward if | 189 | This 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 |
| 191 | crosses a word-constituent character and then encounters a | 191 | crosses a word-constituent character and then encounters a |
| @@ -203,19 +203,12 @@ If @code{inhibit-field-text-motion} is non-@code{nil}, | |||
| 203 | this function ignores field boundaries. | 203 | this function ignores field boundaries. |
| 204 | 204 | ||
| 205 | In an interactive call, @var{count} is specified by the numeric prefix | 205 | In an interactive call, @var{count} is specified by the numeric prefix |
| 206 | argument. | 206 | argument. 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 |
| 210 | This function is just like @code{forward-word}, except that it moves | 210 | This function is just like @code{forward-word}, except that it moves |
| 211 | backward until encountering the front of a word, rather than forward. | 211 | backward until encountering the front of a word, rather than forward. |
| 212 | |||
| 213 | In an interactive call, @var{count} is set to the numeric prefix | ||
| 214 | argument. | ||
| 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 |