[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 adfe2f5: Remove outdated comment in syntax.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 adfe2f5: Remove outdated comment in syntax.el |
Date: |
Sat, 3 Mar 2018 07:41:33 -0500 (EST) |
branch: emacs-26
commit adfe2f580f2359eb7e1b15aa0a39096273fe9995
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Remove outdated comment in syntax.el
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment. (Bug#30617)
---
lisp/emacs-lisp/syntax.el | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el
index 6106720..ad1a966 100644
--- a/lisp/emacs-lisp/syntax.el
+++ b/lisp/emacs-lisp/syntax.el
@@ -363,12 +363,6 @@ 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
itself at the outermost level), return nil."
- ;; BEWARE! We rely on the undocumented 9th field. The 9th field currently
- ;; contains the list of positions of the enclosing open-parens.
- ;; I.e. those positions are outside of any string/comment and the first of
- ;; those is outside of any paren (i.e. corresponds to a nil ppss).
- ;; If this list is empty but we are in a string or comment, then the 8th
- ;; field contains a similar "toplevel" position.
(or (car (nth 9 ppss))
(nth 8 ppss)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 adfe2f5: Remove outdated comment in syntax.el,
Eli Zaretskii <=