Mercurial > emacs
changeset 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 | 672b957881a8 |
children | f640b1894b9f |
files | lisp/ChangeLog lisp/emacs-lisp/syntax.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Jul 30 19:25:06 2010 -0400 +++ b/lisp/ChangeLog Sun Aug 01 02:24:55 2010 +0200 @@ -1,3 +1,8 @@ +2010-08-01 MON KEY <monkey@sandpframing.com> (tiny change) + + * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): + Fix typo in docstring (bug#6747). + 2010-07-30 Leo <sdl.web@gmail.com> * eshell/esh-io.el (eshell-get-target): Better detection of
--- 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