From bfbbb27d9246153517e7f94caa9dc57abffcdb87 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Sun, 19 Jun 2011 20:36:16 -0700 Subject: [PATCH] * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/syntax.el | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cafd440f650..ef76dc69fdc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-06-20 Daniel Colascione + + * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. + 2011-06-19 Chong Yidong * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852). diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index 7ba7b13af44..200b3a6389b 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -398,8 +398,9 @@ point (where the PPSS is equivalent to nil).") (defun syntax-ppss (&optional pos) "Parse-Partial-Sexp State at POS, defaulting to point. -The returned value is the same as `parse-partial-sexp' except that -values 2 and 6 values of the returned state cannot be relied upon. +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." ;; Default values. (unless pos (setq pos (point))) -- 2.39.2