From 2e9dbed567714bbcd9b2c9025d77ef17f8d78a80 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 6 Sep 2016 13:25:14 -0700 Subject: [PATCH] Add debugging to exec-path-from-shell --- dotfiles/emacs.d/README.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index a7360345..f9277091 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -103,6 +103,11 @@ Sets environment variables by starting a shell. (use-package exec-path-from-shell :config (progn + ;; For debugging + (when nil + (message "path: %s, setup: %s" (getenv "PATH") + (getenv "ENVIRONMENT_SETUP_DONE")) + (setq exec-path-from-shell-debug t)) (setq exec-path-from-shell-arguments (list "-l")) (setq exec-path-from-shell-check-startup-files nil) (add-to-list 'exec-path-from-shell-variables "GOPATH")