aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorXue Fuqiao2013-09-04 08:39:34 +0800
committerXue Fuqiao2013-09-04 08:39:34 +0800
commitadf2fc4a01efe77d73cd52bc9173914ed56ff531 (patch)
treea5a280a5554a7bffeaf94fccae29fa3ac1a5d066 /src/syntax.c
parent63191d9f2043d2e67657e85a7b3842805dd1dad6 (diff)
parent38726039b77db432989fed106c88e9f1aa463281 (diff)
downloademacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.tar.gz
emacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.zip
Merge from mainline.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c7
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
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
@@ -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. */