aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index a7977666593..52cec23cd7e 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1108,7 +1108,12 @@ DEFUN ("char-syntax", Fchar_syntax, Schar_syntax, 1, 1, 0,
1108For example, if CHARACTER is a word constituent, the 1108For example, if CHARACTER is a word constituent, the
1109character `w' (119) is returned. 1109character `w' (119) is returned.
1110The characters that correspond to various syntax codes 1110The characters that correspond to various syntax codes
1111are listed in the documentation of `modify-syntax-entry'. */) 1111are listed in the documentation of `modify-syntax-entry'.
1112
1113If you're trying to determine the syntax of characters in the buffer,
1114this is probably the wrong function to use, because it can't take
1115`syntax-table' text properties into account. Consider using
1116`syntax-after' instead. */)
1112 (Lisp_Object character) 1117 (Lisp_Object character)
1113{ 1118{
1114 int char_int; 1119 int char_int;