Don't read envvar literally at startup #1549
This commit is contained in:
parent
14b1e36812
commit
b4d004a91a
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ in interactive sessions, nil otherwise (but logs a warning)."
|
|||
(if (not (file-readable-p file))
|
||||
(doom-log "Couldn't read %S envvar file" file)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents-literally file)
|
||||
(insert-file-contents file)
|
||||
(search-forward "\n\n" nil t)
|
||||
(while (re-search-forward "\n\\([^= \n]+\\)=" nil t)
|
||||
(save-excursion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue