aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorXue Fuqiao2013-08-13 22:26:39 +0800
committerXue Fuqiao2013-08-13 22:26:39 +0800
commitf73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725 (patch)
tree772f6c658f53e506fce760c1498345428618b777 /src/syntax.c
parent956720afe49a46bc64c3bdd5447b318808565809 (diff)
downloademacs-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.c1
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
1465DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", 1465DEFUN ("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).
1467If ARG is omitted or nil, move point forward one word.
1467Normally returns t. 1468Normally returns t.
1468If an edge of the buffer or a field boundary is reached, point is left there 1469If an edge of the buffer or a field boundary is reached, point is left there
1469and the function returns nil. Field boundaries are not noticed if 1470and the function returns nil. Field boundaries are not noticed if