Mercurial > emacs
comparison lisp/emacs-lisp/syntax.el @ 98536:55ce7d80f7dc
(syntax-ppss): Doc fix.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 06 Oct 2008 10:03:59 +0000 |
parents | 90a2847062be |
children | a9dc0e7c3f2b |
comparison
equal
deleted
inserted
replaced
98535:4b988d38e8e7 | 98536:55ce7d80f7dc |
---|---|
120 (cons (car x) (truncate (/ (cdr x) (car x)))) | 120 (cons (car x) (truncate (/ (cdr x) (car x)))) |
121 (error nil))) | 121 (error nil))) |
122 syntax-ppss-stats)) | 122 syntax-ppss-stats)) |
123 | 123 |
124 (defun syntax-ppss (&optional pos) | 124 (defun syntax-ppss (&optional pos) |
125 "Parse-Partial-Sexp State at POS. | 125 "Parse-Partial-Sexp State at POS, defaulting to point. |
126 The returned value is the same as `parse-partial-sexp' except that | 126 The returned value is the same as `parse-partial-sexp' except that |
127 the 2nd and 6th values of the returned state cannot be relied upon. | 127 the 2nd and 6th values of the returned state cannot be relied upon. |
128 Point is at POS when this function returns." | 128 Point is at POS when this function returns." |
129 ;; Default values. | 129 ;; Default values. |
130 (unless pos (setq pos (point))) | 130 (unless pos (setq pos (point))) |