From 9e0e55e0ee2c933de476ca869910c3279df62675 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 5 Jul 2012 07:47:32 -0600 Subject: [PATCH] only try to insert extant hashes * lisp/ob-lob.el (org-babel-lob-execute): Only try to insert extant hashes. --- lisp/ob-lob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el index 66b100c..b1efbbb 100644 --- a/lisp/ob-lob.el +++ b/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) -- 1.7.11.1