diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 682990541..eca4c82cd 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -208,7 +208,7 @@ then create. Return the initialized session." (concat "Python-" (symbol-name session)))) (py-which-bufname bufname)) (py-shell) - (setq python-buffer (org-babel-python-earmufs bufname)))) + (setq python-buffer (org-babel-python-with-earmufs bufname)))) (t (error "No function available for running an inferior Python"))) (setq org-babel-python-buffers