mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:47:56 +00:00
fixed a bug pointed out by Gary Oberbrunner
* lisp/ob-python.el (org-babel-python-initiate-session-by-key): Fixed a bug pointed out by Gary Oberbrunner.
This commit is contained in:
parent
7736c2d7fb
commit
d136eb20c7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue