aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/syntax.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 8b5cc1df407..7e988547675 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1536,9 +1536,15 @@ DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p",
1536 doc: /* Move point forward ARG words (backward if ARG is negative). 1536 doc: /* Move point forward ARG words (backward if ARG is negative).
1537If ARG is omitted or nil, move point forward one word. 1537If ARG is omitted or nil, move point forward one word.
1538Normally returns t. 1538Normally returns t.
1539If an edge of the buffer or a field boundary is reached, point is left there 1539If an edge of the buffer or a field boundary is reached, point is
1540and the function returns nil. Field boundaries are not noticed if 1540left there and the function returns nil. Field boundaries are not
1541`inhibit-field-text-motion' is non-nil. */) 1541noticed if `inhibit-field-text-motion' is non-nil.
1542
1543The word boundaries are normally determined by the buffer's syntax
1544table, but `find-word-boundary-function-table', such as set up
1545by `subword-mode', can change that. If a Lisp program needs to
1546move by words determined strictly by the syntax table, it should
1547use `forward-word-strictly' instead. */)
1542 (Lisp_Object arg) 1548 (Lisp_Object arg)
1543{ 1549{
1544 Lisp_Object tmp; 1550 Lisp_Object tmp;