branch: elpa/exec-path-from-shell
commit 51d0931c2a56a7057d657c4f9bc5abcfa309135d
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Improve suggested condition for initialization on OS X
---
 exec-path-from-shell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 6e684f989e..e0f3fd72c3 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -46,7 +46,7 @@
 ;; If you use your Emacs config on other platforms, you can instead
 ;; make initialization conditional as follows:
 ;;
-;;     (when (and window-system (eq system-type 'darwin))
+;;     (when (memq window-system '(mac ns))
 ;;       (exec-path-from-shell-initialize))
 ;;
 ;; To copy the values of other environment variables, you can use

Reply via email to