diff options
| author | Eli Zaretskii | 2018-03-03 14:41:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-03-03 14:41:16 +0200 |
| commit | adfe2f580f2359eb7e1b15aa0a39096273fe9995 (patch) | |
| tree | 6e16a54f138342a2608352511bd248612b8f9b73 | |
| parent | b80e15b6a6d06fc2937a9c11c1cae5619ceed9c3 (diff) | |
| download | emacs-adfe2f580f2359eb7e1b15aa0a39096273fe9995.tar.gz emacs-adfe2f580f2359eb7e1b15aa0a39096273fe9995.zip | |
Remove outdated comment in syntax.el
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment. (Bug#30617)
| -rw-r--r-- | lisp/emacs-lisp/syntax.el | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index 6106720f7a5..ad1a9665ff0 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: | |||
| 363 | outside of any parentheses, comments, or strings encountered in the scan. | 363 | outside of any parentheses, comments, or strings encountered in the scan. |
| 364 | If no such position is recorded in PPSS (because the end of the scan was | 364 | If no such position is recorded in PPSS (because the end of the scan was |
| 365 | itself at the outermost level), return nil." | 365 | itself at the outermost level), return nil." |
| 366 | ;; BEWARE! We rely on the undocumented 9th field. The 9th field currently | ||
| 367 | ;; contains the list of positions of the enclosing open-parens. | ||
| 368 | ;; I.e. those positions are outside of any string/comment and the first of | ||
| 369 | ;; those is outside of any paren (i.e. corresponds to a nil ppss). | ||
| 370 | ;; If this list is empty but we are in a string or comment, then the 8th | ||
| 371 | ;; field contains a similar "toplevel" position. | ||
| 372 | (or (car (nth 9 ppss)) | 366 | (or (car (nth 9 ppss)) |
| 373 | (nth 8 ppss))) | 367 | (nth 8 ppss))) |
| 374 | 368 | ||