summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-12-10 11:00:29 -0700
committerEric Schulte <schulte.eric@gmail.com>2013-12-10 11:00:29 -0700
commited64845fd60ab5fc4a9e2965d96aa69901a86361 (patch)
tree65048a6938a76d63463dfb5ab6a4501bf9a86bcc
parente6a6fed9348ff81ebcd9c1d96fc476310eca7a30 (diff)
downloadorg-mode-ed64845fd60ab5fc4a9e2965d96aa69901a86361.tar.gz
fix bug introduced by e6a6fed
* lisp/ob-core.el (org-babel-sha1-hash): Don't reference non-existent params variable.
-rw-r--r--lisp/ob-core.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 3b962db..ee2805c 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -1222,10 +1222,7 @@ the current subtree."
(t v))))))
;; expanded body
(lang (nth 0 info))
- (params (setf (nth 2 info)
- (sort (org-babel-merge-params (nth 2 info) params)
- (lambda (el1 el2) (string< (symbol-name (car el1))
- (symbol-name (car el2)))))))
+ (params (nth 2 info))
(body (setf (nth 1 info)
(if (org-babel-noweb-p params :eval)
(org-babel-expand-noweb-references info) (nth 1 info))))