Ver Fonte

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 há 14 anos atrás
pai
commit
abbee1635e
1 ficheiros alterados com 1 adições e 1 exclusões
  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