aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Colascione2011-06-19 20:36:16 -0700
committerDaniel Colascione2011-06-19 20:36:16 -0700
commitbfbbb27d9246153517e7f94caa9dc57abffcdb87 (patch)
treeb300da5fa8567a7bed7735d1f7e8967ca7927e6b
parent56f9dcc930897c038c61eee83b373d72499b875b (diff)
downloademacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.tar.gz
emacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.zip
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/syntax.el5
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 @@
12011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2
3 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4
12011-06-19 Chong Yidong <cyd@stupidchicken.com> 52011-06-19 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852). 7 * 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).")
398 398
399(defun syntax-ppss (&optional pos) 399(defun syntax-ppss (&optional pos)
400 "Parse-Partial-Sexp State at POS, defaulting to point. 400 "Parse-Partial-Sexp State at POS, defaulting to point.
401The returned value is the same as `parse-partial-sexp' except that 401The returned value is the same as that of `parse-partial-sexp'
402values 2 and 6 values of the returned state cannot be relied upon. 402run from point-min to POS except that values at positions 2 and 6
403in the returned list (counting from 0) cannot be relied upon.
403Point is at POS when this function returns." 404Point is at POS when this function returns."
404 ;; Default values. 405 ;; Default values.
405 (unless pos (setq pos (point))) 406 (unless pos (setq pos (point)))