From 8b0184181d3fb097c62a6437c405de26d16c9ee8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 4 Apr 2017 22:18:02 -0400 Subject: [PATCH] exec-path-from-shell: silence interactive message on startup on OSX --- core/core-os.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/core-os.el b/core/core-os.el index 246dadcce..1720d8479 100644 --- a/core/core-os.el +++ b/core/core-os.el @@ -32,6 +32,8 @@ (setq exec-path (or (eval-when-compile (when (require 'exec-path-from-shell nil t) + (setq exec-path-from-shell-check-startup-files nil + exec-path-from-shell-arguments (delete "-i" exec-path-from-shell-arguments)) (nconc exec-path-from-shell-variables '("GOPATH" "GOROOT" "PYTHONPATH")) (exec-path-from-shell-initialize) (persistent-soft-store 'exec-path exec-path "emacs")