From 9aea20c9f876b8da85789f9922bc0c3b4e201d14 Mon Sep 17 00:00:00 2001 From: MON KEY Date: Sun, 1 Aug 2010 02:24:55 +0200 Subject: [PATCH] * lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring. Fixes: debbugs:6747 --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/syntax.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b196d22c72..a6d127a8841 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-08-01 MON KEY (tiny change) + + * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): + Fix typo in docstring (bug#6747). + 2010-07-30 Leo * eshell/esh-io.el (eshell-get-target): Better detection of diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index a3110f8d8c5..5cc89596ef5 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -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 -- 2.11.4.GIT