[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b1ed72fd70: Clarify syntax-ppss doc string
From: |
Lars Ingebrigtsen |
Subject: |
master b1ed72fd70: Clarify syntax-ppss doc string |
Date: |
Sun, 5 Jun 2022 16:37:45 -0400 (EDT) |
branch: master
commit b1ed72fd707ddd81bf79b6937bf0a50ced4f025d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Clarify syntax-ppss doc string
* lisp/emacs-lisp/syntax.el (syntax-ppss): Clarify doc string.
---
lisp/emacs-lisp/syntax.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index 7cc076cd80..a4d7beade1 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -545,10 +545,11 @@ These are valid when the buffer has no restriction.")
(defun syntax-ppss (&optional pos)
"Parse-Partial-Sexp State at POS, defaulting to point.
+If POS is given, this function moves point to POS.
+
The returned value is the same as that of `parse-partial-sexp'
run from `point-min' to POS except that values at positions 2 and 6
in the returned list (counting from 0) cannot be relied upon.
-Point is at POS when this function returns.
It is necessary to call `syntax-ppss-flush-cache' explicitly if
this function is called while `before-change-functions' is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b1ed72fd70: Clarify syntax-ppss doc string,
Lars Ingebrigtsen <=