From: Robert Pluim Date: Fri, 22 Oct 2021 15:51:56 +0000 (+0200) Subject: Improve documentation of syntax-ppss-context slightly X-Git-Tag: emacs-28.0.90~207 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7fde84e881b98f6f06d659acbb739bf185f8d764;p=emacs.git Improve documentation of syntax-ppss-context slightly * doc/lispref/syntax.texi (Parser State): Document all possible return values from 'syntax-ppss-context'. --- diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi index deec3f44c08..87ade73c2ae 100644 --- a/doc/lispref/syntax.texi +++ b/doc/lispref/syntax.texi @@ -900,6 +900,7 @@ arrived at a top level position. @defun syntax-ppss-context state Return @code{string} if the end position of the scan returning @var{state} is in a string, and @code{comment} if it's in a comment. +Otherwise return @code{nil}. @end defun @node Low-Level Parsing