diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-24 00:04:04 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-24 00:04:04 +0200 |
commit | f3b1b5fb5034de026adc41cf2403cff42f4a0b67 (patch) | |
tree | ea7aa8eb6950022370e1712ae54c177527868002 /doc/lispref/syntax.texi | |
parent | 63b29f81075a3fdca70348f023d3ebb37a4f2a63 (diff) | |
download | emacs-f3b1b5fb5034de026adc41cf2403cff42f4a0b67.tar.gz emacs-f3b1b5fb5034de026adc41cf2403cff42f4a0b67.tar.bz2 emacs-f3b1b5fb5034de026adc41cf2403cff42f4a0b67.zip |
Document syntax-ppss-context
* doc/lispref/syntax.texi (Parser State): Document it.
* lisp/emacs-lisp/syntax.el (syntax-ppss-context): Add a doc
string (bug#32504).
Diffstat (limited to 'doc/lispref/syntax.texi')
-rw-r--r-- | doc/lispref/syntax.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi index b0c04ef9c25..63d534dd134 100644 --- a/doc/lispref/syntax.texi +++ b/doc/lispref/syntax.texi @@ -882,6 +882,11 @@ The value is @code{nil} if @var{state} represents a parse which has arrived at a top level position. @end defun +@defun syntax-ppss-context state +Return @code{string} if @var{state} is a string and @code{comment} if +it's a comment. +@end defun + @node Low-Level Parsing @subsection Low-Level Parsing |