diff options
| author | Daniel Colascione | 2011-06-19 20:36:16 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2011-06-19 20:36:16 -0700 |
| commit | bfbbb27d9246153517e7f94caa9dc57abffcdb87 (patch) | |
| tree | b300da5fa8567a7bed7735d1f7e8967ca7927e6b | |
| parent | 56f9dcc930897c038c61eee83b373d72499b875b (diff) | |
| download | emacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.tar.gz emacs-bfbbb27d9246153517e7f94caa9dc57abffcdb87.zip | |
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2011-06-20 Daniel Colascione <dan.colascione@gmail.com> | ||
| 2 | |||
| 3 | * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring. | ||
| 4 | |||
| 1 | 2011-06-19 Chong Yidong <cyd@stupidchicken.com> | 5 | 2011-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. |
| 401 | The returned value is the same as `parse-partial-sexp' except that | 401 | The returned value is the same as that of `parse-partial-sexp' |
| 402 | values 2 and 6 values of the returned state cannot be relied upon. | 402 | run from point-min to POS except that values at positions 2 and 6 |
| 403 | in the returned list (counting from 0) cannot be relied upon. | ||
| 403 | Point is at POS when this function returns." | 404 | Point 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))) |