Browse Source

only try to insert extant hashes

* lisp/ob-lob.el (org-babel-lob-execute): Only try to insert extant
  hashes.
Eric Schulte 12 years ago
parent
commit
9498b5c6dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-lob.el

+ 1 - 1
lisp/ob-lob.el

@@ -139,7 +139,7 @@ if so then run the appropriate source block from the Library."
 	  (prog1 (org-babel-execute-src-block
 		  nil (mkinfo (org-babel-process-params pre-params)))
 	    ;; update the hash
-	    (org-babel-set-current-result-hash new-hash))))))
+	    (when hash (org-babel-set-current-result-hash new-hash)))))))
 
 (provide 'ob-lob)