diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-04 17:16:39 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-04 17:16:39 -0800 |
commit | bd6c1976fba03bd2e4ca0a52cea562c8ecf23ef8 (patch) | |
tree | f5611596b3c70cdd536adfc06e9880bdd1bfc211 /lisp/emacs-lisp | |
parent | 78589529a7e7ea21f78c972c87b9e2c94ef27610 (diff) | |
parent | f2caf08ca625f64c7eeea8dfa8f65a5b1bac58e2 (diff) | |
download | emacs-bd6c1976fba03bd2e4ca0a52cea562c8ecf23ef8.tar.gz |
Merge from origin/emacs-26
f2caf08ca6 ; Spelling fixes
f0e5f220b6 * lisp/progmodes/grep.el (zrgrep):
a0f71260f8 Minor copyedits in doc/emacs/text.texi
adfe2f580f Remove outdated comment in syntax.el
b80e15b6a6 Prevent Flyspell from changing unrelated words
e385599457 Avoid errors in flymake in builds --without-x
d691e30cb0 More improvements of the Emacs manual
Diffstat (limited to 'lisp/emacs-lisp')
-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: 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))) |