mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Read & write envvar file as utf-8 #3044
This commit is contained in:
@ -89,6 +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)
|
||||
(print! (start "%s envvars file at %S")
|
||||
(if (file-exists-p env-file)
|
||||
"Regenerating"
|
||||
|
Reference in New Issue
Block a user