浏览代码

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)
Eric Schulte 14 年之前
父节点
当前提交
d87e33ea19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob.el

+ 1 - 1
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)))