Fix source-env-file

This commit is contained in:
Jeremy Dormitzer 2019-11-20 08:54:06 -05:00
parent 3182570874
commit f5959be58b

View File

@ -328,7 +328,7 @@ Load environment variables into Emacs from a shell script:
(defun source-env-file (file)
(interactive "fFile: \n")
(let (env (extract-vars-from-env-file file))
(let ((env (extract-vars-from-env-file file)))
(dolist (binding env)
(setenv (car binding) (cdr binding)))))