Mercurial > emacs
comparison lispref/syntax.texi @ 58422:95449b431def
*** empty log message ***
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 22 Nov 2004 13:17:56 +0000 |
parents | 54677602f810 |
children | 881cc84dd099 f2ebccfa87d4 |
comparison
equal
deleted
inserted
replaced
58421:15fca0a00f5e | 58422:95449b431def |
---|---|
1 @c -*-texinfo-*- | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | 2 @c This is part of the GNU Emacs Lisp Reference Manual. |
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999 | 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2004 |
4 @c Free Software Foundation, Inc. | 4 @c Free Software Foundation, Inc. |
5 @c See the file elisp.texi for copying conditions. | 5 @c See the file elisp.texi for copying conditions. |
6 @setfilename ../info/syntax | 6 @setfilename ../info/syntax |
7 @node Syntax Tables, Abbrevs, Searching and Matching, Top | 7 @node Syntax Tables, Abbrevs, Searching and Matching, Top |
8 @chapter Syntax Tables | 8 @chapter Syntax Tables |
503 | 503 |
504 @defun syntax-after pos | 504 @defun syntax-after pos |
505 This function returns a description of the syntax of the character in | 505 This function returns a description of the syntax of the character in |
506 the buffer after position @var{pos}, taking account of syntax | 506 the buffer after position @var{pos}, taking account of syntax |
507 properties as well as the syntax table. | 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 | 508 @end defun |
515 | 509 |
516 @defun set-syntax-table table | 510 @defun set-syntax-table table |
517 This function makes @var{table} the syntax table for the current buffer. | 511 This function makes @var{table} the syntax table for the current buffer. |
518 It returns @var{table}. | 512 It returns @var{table}. |