mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
This commit is contained in:
parent
56f9dcc930
commit
bfbbb27d92
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
|
||||
|
||||
* emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
|
||||
|
||||
2011-06-19 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue