aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorXue Fuqiao2013-08-13 22:26:39 +0800
committerXue Fuqiao2013-08-13 22:26:39 +0800
commitf73f4ce69f4b2e8f6c422aca8f8cc36ef72fa725 (patch)
tree772f6c658f53e506fce760c1498345428618b777 /doc
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 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/positions.texi6
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 6df8c3912a3..42b9600a0ac 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2
3 * positions.texi (Word Motion): Remove redundant sentence.
4
12013-08-13 Glenn Morris <rgm@gnu.org> 52013-08-13 Glenn Morris <rgm@gnu.org>
2 6
3 * lists.texi (List Elements): 7 * lists.texi (List Elements):
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi
index 119ad98a53d..5cb1a851a5b 100644
--- a/doc/lispref/positions.texi
+++ b/doc/lispref/positions.texi
@@ -191,8 +191,8 @@ whether a given character is part of a word. @xref{Syntax Tables}.
191 191
192@deffn Command forward-word &optional count 192@deffn Command forward-word &optional count
193This function moves point forward @var{count} words (or backward if 193This function moves point forward @var{count} words (or backward if
194@var{count} is negative). If @var{count} is @code{nil}, it moves 194@var{count} is negative). If @var{count} is omitted or @code{nil}, it
195forward one word. 195defaults to 1.
196 196
197``Moving one word'' means moving until point crosses a 197``Moving one word'' means moving until point crosses a
198word-constituent character and then encounters a word-separator 198word-constituent character and then encounters a word-separator
@@ -210,7 +210,7 @@ If @code{inhibit-field-text-motion} is non-@code{nil},
210this function ignores field boundaries. 210this function ignores field boundaries.
211 211
212In an interactive call, @var{count} is specified by the numeric prefix 212In an interactive call, @var{count} is specified by the numeric prefix
213argument. If @var{count} is omitted or @code{nil}, it defaults to 1. 213argument.
214@end deffn 214@end deffn
215 215
216@deffn Command backward-word &optional count 216@deffn Command backward-word &optional count