]> git.eshelyaron.com Git - emacs.git/commit
Fix Flymake diagnostics reporting in non-UTF-8 locales
authorEli Zaretskii <eliz@gnu.org>
Thu, 19 May 2022 08:00:36 +0000 (11:00 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 19 May 2022 08:00:36 +0000 (11:00 +0300)
commit6308f0738d3b1c1e0add5cab87bf02097fb1a8d1
tree667ff8cc1d34e32fb086a96e9c8358670614761a
parente54e44c94e390c9f472d62fef5d1360a962e7269
Fix Flymake diagnostics reporting in non-UTF-8 locales

* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile)
(elisp-flymake--batch-compile-for-flymake): Bind I/O encoding to
UTF-8, instead of relying on the locale's defaults.  This is
needed because ELisp files use UTF-8 by default, but Flymake
doesn't know about that, since it isn't specific to ELisp.
lisp/progmodes/elisp-mode.el