diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/syntax.c | 12 |
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). |
| 1537 | If ARG is omitted or nil, move point forward one word. | 1537 | If ARG is omitted or nil, move point forward one word. |
| 1538 | Normally returns t. | 1538 | Normally returns t. |
| 1539 | If an edge of the buffer or a field boundary is reached, point is left there | 1539 | If an edge of the buffer or a field boundary is reached, point is |
| 1540 | and the function returns nil. Field boundaries are not noticed if | 1540 | left there and the function returns nil. Field boundaries are not |
| 1541 | `inhibit-field-text-motion' is non-nil. */) | 1541 | noticed if `inhibit-field-text-motion' is non-nil. |
| 1542 | |||
| 1543 | The word boundaries are normally determined by the buffer's syntax | ||
| 1544 | table, but `find-word-boundary-function-table', such as set up | ||
| 1545 | by `subword-mode', can change that. If a Lisp program needs to | ||
| 1546 | move by words determined strictly by the syntax table, it should | ||
| 1547 | use `forward-word-strictly' instead. */) | ||
| 1542 | (Lisp_Object arg) | 1548 | (Lisp_Object arg) |
| 1543 | { | 1549 | { |
| 1544 | Lisp_Object tmp; | 1550 | Lisp_Object tmp; |