summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-03-23 11:26:53 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-03-23 11:26:53 -0600
commitabbee1635e18d88d82bbf9883c9e95e66540fdff (patch)
tree38303d8e5a3d3ea91d1e9c7657081dedbb9815e8
parent8d0c034047c618042b4dd61d7df2c572f38b9b0b (diff)
downloadorg-mode-abbee1635e18d88d82bbf9883c9e95e66540fdff.tar.gz
ob-exp: use source block name when finding cached results.
* lisp/ob-exp.el (org-babel-exp-results): Use code block name when finding cached results.
-rw-r--r--lisp/ob-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index 5306ca6..20a7cda 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -250,7 +250,7 @@ inhibit insertion of results into the buffer."
(when (and org-export-babel-evaluate
(not (and hash
(equal hash (org-babel-exp-in-export-file (nth 0 info)
- (org-babel-result-hash))))))
+ (org-babel-result-hash info))))))
(let ((lang (nth 0 info))
(body (nth 1 info)))
;; skip code blocks which we can't evaluate