Commit a4e8f03c authored by Konrad Hinsen's avatar Konrad Hinsen

Ne pas utiliser exec-path-from-shell sous Windows

Une correction faite il y a 3 mois qui avait été perdue due
à un "git push" oublié...
parent cc554426
......@@ -66,8 +66,9 @@
(when (not (package-installed-p pkg))
(package-install pkg)))
(exec-path-from-shell-initialize)
(exec-path-from-shell-copy-env "PYTHONPATH")
(unless (memq system-type '(windows-nt ms-dos))
(exec-path-from-shell-initialize)
(exec-path-from-shell-copy-env "PYTHONPATH"))
(require 'org)
......
......@@ -93,8 +93,9 @@ document, simply =M-x org-babel-tangle=.
#+end_src
* Import environment variables
#+begin_src emacs-lisp :tangle init.el
(exec-path-from-shell-initialize)
(exec-path-from-shell-copy-env "PYTHONPATH")
(unless (memq system-type '(windows-nt ms-dos))
(exec-path-from-shell-initialize)
(exec-path-from-shell-copy-env "PYTHONPATH"))
#+end_src
* Loading files:
** Loading babel: :ARNAUD:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment