From d87e33ea1978e0aed6c3daa1894b0f85349d2325 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 21 Oct 2010 07:50:32 -0600 Subject: [PATCH] babel: ob-execute-src-block respects prefix argument (which forces re-calculation) * lisp/ob.el (org-babel-execute-src-block): respects prefix argument (which forces re-calculation) --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 9544bccbd..602192cb7 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -355,7 +355,7 @@ block." (org-babel-process-params (org-babel-merge-params (nth 2 info) params)) (nth 2 info))) - (cache? (and (cdr (assoc :cache params)) + (cache? (and (not arg) (cdr (assoc :cache params)) (string= "yes" (cdr (assoc :cache params))))) (result-params (cdr (assoc :result-params params))) (new-hash (when cache? (org-babel-sha1-hash info))) -- 2.11.4.GIT