Closed hlissner closed 4 years ago
Changed utf-8-unix encoding to utf-8.
utf-8-unix
utf-8
By specifying an explicit line encoding, hack-local-variables will throw a Local variables entry is missing the suffix error on Windows, when a package is cloned via git without autocrlf enabled.
hack-local-variables
Local variables entry is missing the suffix
git
autocrlf
More specifically: when installing packages 1) with straight.el, 2) on Windows, 3) that have hard-coded a utf-8-unix encoding in its file local variables, we get issues like this: https://github.com/hlissner/doom-emacs/issues/2637, https://github.com/hlissner/doom-emacs/issues/2548, and https://github.com/raxod502/straight.el/issues/346
Changed
utf-8-unix
encoding toutf-8
.By specifying an explicit line encoding,
hack-local-variables
will throw aLocal variables entry is missing the suffix
error on Windows, when a package is cloned viagit
withoutautocrlf
enabled.More specifically: when installing packages 1) with straight.el, 2) on Windows, 3) that have hard-coded a utf-8-unix encoding in its file local variables, we get issues like this: https://github.com/hlissner/doom-emacs/issues/2637, https://github.com/hlissner/doom-emacs/issues/2548, and https://github.com/raxod502/straight.el/issues/346