Sfoglia il codice sorgente

babel: cleaner initialization of org-babel-python-buffers

* lisp/babel/langs/ob-python.el (org-babel-python-buffers):
  technically this should be initialized as an alist, although in
  practice this doesn't really make any functional difference because
  whenever this variable is used it has new values properly assigned
  to it, and it is supposed to start basically empty.
Eric Schulte 14 anni fa
parent
commit
7fdfd13e96
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/babel/langs/ob-python.el

+ 1 - 1
lisp/babel/langs/ob-python.el

@@ -117,7 +117,7 @@ Emacs-lisp table, otherwise return the results as a string."
                                                  "'" "\"" results t))))))
      results))))
 
-(defvar org-babel-python-buffers '(:default . nil))
+(defvar org-babel-python-buffers '((:default . nil)))
 
 (defun org-babel-python-session-buffer (session)
   "Return the buffer associated with SESSION."