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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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