Преглед на файлове

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 години
родител
ревизия
7fdfd13e96
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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."