diff options
| author | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-13 22:26:39 +0800 |
|---|---|---|
| committer | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-13 22:26:39 +0800 |
| commit | f73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725 (patch) | |
| tree | 772f6c658f53e506fce760c1498345428618b777 /src/syntax.c | |
| parent | 956720afe49a46bc64c3bdd5447b318808565809 (diff) | |
| download | emacs-f73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725.tar.gz | |
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) DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", doc: /* Move point forward ARG words (backward if ARG is negative). +If ARG is omitted or nil, move point forward one word. Normally returns t. If an edge of the buffer or a field boundary is reached, point is left there and the function returns nil. Field boundaries are not noticed if |
