Didn't fix #3042
This commit is contained in:
Henrik Lissner 2020-05-05 20:14:02 -04:00
parent 7460e9e798
commit 4a181ebfe8
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
(save-excursion
(insert "\0\n") ; to prevent off-by-one
(insert-file-contents-literally file))
(insert-file-contents file))
(save-match-data
(when (re-search-forward "\0\n *\\([^#= \n]*\\)=" nil t)
(setq