From: Daniel Colascione Date: Mon, 20 Jun 2011 03:36:16 +0000 (-0700) Subject: * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. X-Git-Tag: emacs-pretest-24.0.90~104^2~507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfbbb27d9246153517e7f94caa9dc57abffcdb87;p=emacs.git * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. --- 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)))