Mercurial > emacs
diff lisp/emacs-lisp/syntax.el @ 109698:e3caf0b09548
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 01 Aug 2010 02:24:55 +0200 |
parents | 1d1d5d9bd884 |
children | 98d8e4cd2326 376148b31b5e |
line wrap: on
line diff
--- a/lisp/emacs-lisp/syntax.el Fri Jul 30 19:25:06 2010 -0400 +++ b/lisp/emacs-lisp/syntax.el Sun Aug 01 02:24:55 2010 +0200 @@ -52,7 +52,7 @@ (defun syntax-ppss-toplevel-pos (ppss) "Get the latest syntactically outermost position found in a syntactic scan. -PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'. +PPSS is a scan state, as returned by `parse-partial-sexp' or `syntax-ppss'. An \"outermost position\" means one that it is outside of any syntactic entity: outside of any parentheses, comments, or strings encountered in the scan. If no such position is recorded in PPSS (because the end of the scan was