aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/syntax.texi12
2 files changed, 16 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 197c7217785..4491956f06f 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12004-11-08 Richard M. Stallman <rms@gnu.org>
2
3 * syntax.texi (Syntax Table Functions): Add syntax-after.
4
12004-11-06 Lars Brinkhoff <lars@nocrew.org> 52004-11-06 Lars Brinkhoff <lars@nocrew.org>
2 6
3 * os.texi (Processor Run Time): New section documenting 7 * os.texi (Processor Run Time): New section documenting
diff --git a/lispref/syntax.texi b/lispref/syntax.texi
index 8c95e78d00c..57b0590d239 100644
--- a/lispref/syntax.texi
+++ b/lispref/syntax.texi
@@ -501,6 +501,18 @@ We use @code{string} to make it easier to see the character returned by
501@code{char-syntax}. 501@code{char-syntax}.
502@end defun 502@end defun
503 503
504@defun syntax-after pos
505This function returns a description of the syntax of the character in
506the buffer after position @var{pos}, taking account of syntax
507properties as well as the syntax table.
508
509The value is usually a syntax class character; however, if the buffer
510character has parenthesis syntax, the value is a cons cell of the form
511@code{(@var{class} . @var{match})}, where @var{class} is the syntax
512class character and @var{match} is the buffer character's matching
513parenthesis.
514@end defun
515
504@defun set-syntax-table table 516@defun set-syntax-table table
505This function makes @var{table} the syntax table for the current buffer. 517This function makes @var{table} the syntax table for the current buffer.
506It returns @var{table}. 518It returns @var{table}.