summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-10-21 07:50:32 -0600
committerEric Schulte <schulte.eric@gmail.com>2010-10-21 07:50:32 -0600
commitd87e33ea1978e0aed6c3daa1894b0f85349d2325 (patch)
tree30e382cd3d96c9c5df3e8cc60aaf1ef634806ce9
parent3fd8d906e409d43da3e905860e7c5970fbcbdd62 (diff)
downloadorg-mode-d87e33ea1978e0aed6c3daa1894b0f85349d2325.tar.gz
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)
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 9544bcc..602192c 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)))