diff options
author | Dan Davison <davison@stats.ox.ac.uk> | 2010-08-16 11:08:37 -0400 |
---|---|---|
committer | Dan Davison <davison@stats.ox.ac.uk> | 2010-08-16 11:09:20 -0400 |
commit | 4f82a58e8c29cb54c3ead1e0e83311de685a830a (patch) | |
tree | 536ff7c366c6e280c6e5977e5b22fff15d2a62b5 | |
parent | ac8e3fb8d1fd8fffe784f6edd672d3c93f78664f (diff) | |
download | org-mode-4f82a58e8c29cb54c3ead1e0e83311de685a830a.tar.gz |
babel: python: use eq instead of equal
* ob-python.el (org-babel-python-initiate-session-by-key): use
eq instead of equal to compare symbols
-rw-r--r-- | lisp/ob-python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el index e7101f0..44411e4 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -150,10 +150,10 @@ then create. Return the initialized session." (let* ((session (if session (intern session) :default)) (python-buffer (org-babel-python-session-buffer session))) (cond - ((and (equal 'python org-babel-python-mode) + ((and (eq 'python org-babel-python-mode) (fboundp 'run-python)) ; python.el (run-python)) - ((and (equal 'python-mode org-babel-python-mode) + ((and (eq 'python-mode org-babel-python-mode) (fboundp 'py-shell)) ; python-mode.el ;; `py-shell' creates a buffer whose name is the value of ;; `py-which-bufname' with '*'s at the beginning and end |