From 28c21c4995142c9543133699d539e6998cc34bb5 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 14 Feb 2020 10:21:02 -0500 Subject: [PATCH] Fix call-with-env-from-file --- emacs/init.org | 1 - 1 file changed, 1 deletion(-) diff --git a/emacs/init.org b/emacs/init.org index b9eb154..5c99ec0 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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))