actually setting new session names
* lisp/ob-python.el (org-babel-python-initiate-session-by-key): Actually setting new session names.
This commit is contained in:
parent
993e3ee621
commit
e431298fda
|
@ -185,7 +185,8 @@ then create. Return the initialized session."
|
|||
(fboundp 'run-python)) ; python.el
|
||||
(if (version< "24.1" emacs-version)
|
||||
(progn
|
||||
(unless python-buffer (org-babel-python-with-earmufs session))
|
||||
(unless python-buffer
|
||||
(setq python-buffer (org-babel-python-with-earmufs session)))
|
||||
(let ((python-shell-buffer-name
|
||||
(org-babel-python-without-earmufs python-buffer)))
|
||||
(run-python org-babel-python-command)))
|
||||
|
|
Loading…
Reference in New Issue