diff options
| author | Xue Fuqiao | 2013-08-13 22:26:39 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-08-13 22:26:39 +0800 |
| commit | f73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725 (patch) | |
| tree | 772f6c658f53e506fce760c1498345428618b777 /src/syntax.c | |
| parent | 956720afe49a46bc64c3bdd5447b318808565809 (diff) | |
| download | emacs-f73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725.tar.gz emacs-f73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725.zip | |
Doc fix for forward-word and backward-word.
* doc/lispref/positions.texi (Word Motion): Remove redundant sentence.
* lisp/simple.el (backward-word): Mention the optional argument.
* src/syntax.c (forward_word): Mention the optional argument.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6d52d115889..f5b37303a4a 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1464,6 +1464,7 @@ scan_words (register ptrdiff_t from, register EMACS_INT count) | |||
| 1464 | 1464 | ||
| 1465 | DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", | 1465 | DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", |
| 1466 | doc: /* Move point forward ARG words (backward if ARG is negative). | 1466 | doc: /* Move point forward ARG words (backward if ARG is negative). |
| 1467 | If ARG is omitted or nil, move point forward one word. | ||
| 1467 | Normally returns t. | 1468 | Normally returns t. |
| 1468 | If an edge of the buffer or a field boundary is reached, point is left there | 1469 | If an edge of the buffer or a field boundary is reached, point is left there |
| 1469 | and the function returns nil. Field boundaries are not noticed if | 1470 | and the function returns nil. Field boundaries are not noticed if |