diff --git a/ob-ipython.el b/ob-ipython.el index 043fb9a..33215fe 100644 --- a/ob-ipython.el +++ b/ob-ipython.el @@ -165,10 +165,9 @@ can be displayed.") (apply 'start-process name buf (car cmd) (cdr cmd)))) (defun ob-ipython--get-python () - (locate-file (if (eq system-type 'windows-nt) - "python.exe" - (or python-shell-interpreter "python")) - exec-path)) + (let ((buf ( or python-shell-interpreter "python"))) + ;; (message buf) + (locate-file buf exec-path))) (defun ob-ipython--create-kernel (name &optional kernel) (when (and (not (ignore-errors (process-live-p (get-process (format "kernel-%s" name)))))