diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6d52d115889..31eb86faed8 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 | ||
| 1465 | DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", | 1465 | DEFUN ("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). |
| 1467 | If ARG is omitted or nil, move point forward one word. | ||
| 1467 | Normally returns t. | 1468 | Normally returns t. |
| 1468 | If an edge of the buffer or a field boundary is reached, point is left there | 1469 | If an edge of the buffer or a field boundary is reached, point is left there |
| 1469 | and the function returns nil. Field boundaries are not noticed if | 1470 | and the function returns nil. Field boundaries are not noticed if |
| @@ -3485,9 +3486,9 @@ init_syntax_once (void) | |||
| 3485 | /* This has to be done here, before we call Fmake_char_table. */ | 3486 | /* This has to be done here, before we call Fmake_char_table. */ |
| 3486 | DEFSYM (Qsyntax_table, "syntax-table"); | 3487 | DEFSYM (Qsyntax_table, "syntax-table"); |
| 3487 | 3488 | ||
| 3488 | /* Intern_C_String this now in case it isn't already done. | 3489 | /* This variable is DEFSYMed in alloc.c and not initialized yet, so |
| 3489 | Setting this variable twice is harmless. | 3490 | intern it here. NOTE: you must guarantee that init_syntax_once |
| 3490 | But don't staticpro it here--that is done in alloc.c. */ | 3491 | is called before all other users of this variable. */ |
| 3491 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); | 3492 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 3492 | 3493 | ||
| 3493 | /* Create objects which can be shared among syntax tables. */ | 3494 | /* Create objects which can be shared among syntax tables. */ |