Fix source-env-file
This commit is contained in:
parent
3182570874
commit
f5959be58b
@ -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)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user