Change envvar coding system buffer locally

This commit is contained in:
Henrik Lissner 2020-05-14 04:13:05 -04:00
parent 21fda9af60
commit a2011232a2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ default, on Linux, this is '$SHELL -ic /usr/bin/env'. Variables in
doom-env-file)))
(when (or force-p (not (file-exists-p env-file)))
(with-temp-file env-file
(setq coding-system-for-write 'utf-8)
(setq-local coding-system-for-write 'utf-8)
(print! (start "%s envvars file at %S")
(if (file-exists-p env-file)
"Regenerating"