]> git.eshelyaron.com Git - emacs.git/commit
Don't hide flymake diagnostics on empty first line (bug#70310)
authorMattias EngdegÄrd <mattiase@acm.org>
Thu, 11 Apr 2024 11:55:39 +0000 (13:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 16:58:07 +0000 (18:58 +0200)
commite02935dcbbe630f92fdf4138e6c6d2421e9391a4
tree92863aa2382e78da64cbe004cabc1ca887101635
parenta5de3a2661105d75be4803da959779b485076ae4
Don't hide flymake diagnostics on empty first line (bug#70310)

A diagnostic first in the buffer, typically the lexical cookie warning,
got lost if that line was empty.

* lisp/progmodes/elisp-mode.el (elisp-flymake--byte-compile-done):
Make sure the location interval doesn't go beyond the buffer bounds.

(cherry picked from commit b436f430e3897e1aa6dcb5a39564a3553bbf631f)
lisp/progmodes/elisp-mode.el