Fix call-with-env-from-file

This commit is contained in:
Jeremy Dormitzer 2020-02-14 10:21:02 -05:00
parent 06a02883c8
commit 28c21c4995

View File

@ -511,7 +511,6 @@ Load environment variables into Emacs from a shell script:
(let ((var-re "\\(.+?\\)=\\(.+\\)$")
(env '()))
(with-temp-buffer
(cd (file-name-directory file))
(shell-command (concat "source " file " > /dev/null && env")
(current-buffer))
(goto-char (point-min))