Mercurial > emacs
comparison lispref/syntax.texi @ 58044:54677602f810
(Syntax Table Functions): Add syntax-after.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 08 Nov 2004 16:55:07 +0000 |
parents | 69dcc9afcf6f |
children | 95449b431def cb7f41387eb3 |
comparison
equal
deleted
inserted
replaced
58043:fcf98b0adadc | 58044:54677602f810 |
---|---|
499 | 499 |
500 We use @code{string} to make it easier to see the character returned by | 500 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 | |
505 This function returns a description of the syntax of the character in | |
506 the buffer after position @var{pos}, taking account of syntax | |
507 properties as well as the syntax table. | |
508 | |
509 The value is usually a syntax class character; however, if the buffer | |
510 character has parenthesis syntax, the value is a cons cell of the form | |
511 @code{(@var{class} . @var{match})}, where @var{class} is the syntax | |
512 class character and @var{match} is the buffer character's matching | |
513 parenthesis. | |
514 @end defun | |
515 | |
504 @defun set-syntax-table table | 516 @defun set-syntax-table table |
505 This function makes @var{table} the syntax table for the current buffer. | 517 This function makes @var{table} the syntax table for the current buffer. |
506 It returns @var{table}. | 518 It returns @var{table}. |
507 @end defun | 519 @end defun |
508 | 520 |