Browse Source

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.
Eric Schulte 12 năm trước cách đây
mục cha
commit
d136eb20c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/ob-python.el

+ 1 - 1
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