summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDaniel Colascione <dan.colascione@gmail.com>2011-06-19 20:36:16 -0700
committerDaniel Colascione <dan.colascione@gmail.com>2011-06-19 20:36:16 -0700
commitbfbbb27d9246153517e7f94caa9dc57abffcdb87 (patch)
treeb300da5fa8567a7bed7735d1f7e8967ca7927e6b /lisp/emacs-lisp
parent56f9dcc930897c038c61eee83b373d72499b875b (diff)
downloademacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.tar.gz
emacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.tar.bz2
emacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.zip
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/syntax.el5
1 files changed, 3 insertions, 2 deletions
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)))