diff options
author | Alan Mackenzie <acm@muc.de> | 2018-02-22 18:21:47 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2018-02-22 18:25:13 +0000 |
commit | 76f5242838c84bcaf5003b18a31104114930f197 (patch) | |
tree | b2bd282f5d384714f7f6641ab6bd5e7eb223fc9b /doc/lispref/syntax.texi | |
parent | 5fb29578de07d0f5002d88dea58843478c0bc114 (diff) | |
download | emacs-76f5242838c84bcaf5003b18a31104114930f197.tar.gz |
Document, in the Elisp manual, how to get a character's raw syntax descriptor
* doc/lispref/syntax.texi (Syntax Table internals): mention the use of `aref'
to get a character's raw syntax descriptor.
Diffstat (limited to 'doc/lispref/syntax.texi')
-rw-r--r-- | doc/lispref/syntax.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi index fd461b755c0..3327d7855c4 100644 --- a/doc/lispref/syntax.texi +++ b/doc/lispref/syntax.texi @@ -972,6 +972,10 @@ encodes the syntax class and syntax flags, according to the table below. @var{matching-char}, if non-@code{nil}, specifies a matching character (similar to the second character in a syntax descriptor). +@cindex syntax tables (accessing elements of) +Use @code{aref} (@pxref{Array Functions}) to get the raw syntax +descriptor of a character, e.g. @w{@code{(aref (syntax-table) ch)}}. + Here are the syntax codes corresponding to the various syntax classes: |