Prevent coding system prompt during doom commands

Possibly fixes #3042
This commit is contained in:
Henrik Lissner
2020-05-05 16:07:02 -04:00
parent 348d5751fd
commit 7d2876ee00

View File

@ -119,7 +119,7 @@ unreadable. Returns the names of envvars that were changed."
(with-temp-buffer
(save-excursion
(insert "\0\n") ; to prevent off-by-one
(insert-file-contents file))
(insert-file-contents-literally file))
(save-match-data
(when (re-search-forward "\0\n *\\([^#= \n]*\\)=" nil t)
(setq