emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 76f5242: Document, in the Elisp manual, how to ge


From: Alan Mackenzie
Subject: [Emacs-diffs] emacs-26 76f5242: Document, in the Elisp manual, how to get a character's raw syntax descriptor
Date: Thu, 22 Feb 2018 13:38:29 -0500 (EST)

branch: emacs-26
commit 76f5242838c84bcaf5003b18a31104114930f197
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>

    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.
---
 doc/lispref/syntax.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index fd461b7..3327d78 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 address@hidden, specifies a matching
 character (similar to the second character in a syntax descriptor).
 
address@hidden syntax tables (accessing elements of)
+Use @code{aref} (@pxref{Array Functions}) to get the raw syntax
+descriptor of a character, e.g. @address@hidden(aref (syntax-table) ch)}}.
+
   Here are the syntax codes corresponding to the various syntax
 classes:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]