Bläddra i källkod

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.
Eric Schulte 14 år sedan
förälder
incheckning
abbee1635e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lisp/ob-exp.el

+ 1 - 1
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