]> git.eshelyaron.com Git - emacs.git/commit
Ensure proper mode of *Compile-Log* buffer (bug#67920)
authorMattias Engdegård <mattiase@acm.org>
Thu, 21 Dec 2023 17:56:04 +0000 (18:56 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 22 Dec 2023 12:16:40 +0000 (13:16 +0100)
commitc638a40d88f6ca105babbf9078b086491b649797
treea98bfc784f95b6eecbe262b01bc59d72e5e934e8
parent9db1fe638ecfdd2d8dd32e3ee47f97c5ed3312c1
Ensure proper mode of *Compile-Log* buffer (bug#67920)

Reported by OGAWA Hirofumi.

* lisp/emacs-lisp/bytecomp.el (displaying-byte-compile-warnings):
Move most of the innards to...
(bytecomp--displaying-warnings): ...this new function, for ease
of maintenance.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Wrap early warning about missing lexbind declaration in
`displaying-byte-compile-warnings` so that it doesn't cause the
creation of a compile-log buffer with the wrong mode.
lisp/emacs-lisp/bytecomp.el