From 7fde84e881b98f6f06d659acbb739bf185f8d764 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 22 Oct 2021 17:51:56 +0200 Subject: [PATCH] Improve documentation of syntax-ppss-context slightly * doc/lispref/syntax.texi (Parser State): Document all possible return values from 'syntax-ppss-context'. --- doc/lispref/syntax.texi | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5