summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-02-27 13:29:23 +0100
committerBastien Guerry <bzg@altern.org>2013-02-27 13:29:23 +0100
commitbdce4dbf9b9aae90ea554be41fe979130076f7c5 (patch)
treed1baf45a4003edbabfeaeb5185af4557021e3709
parent936f13c6299ca6773f9f9d14f6427e322fd0723c (diff)
downloadorg-mode-bdce4dbf9b9aae90ea554be41fe979130076f7c5.tar.gz
Fix a typo I introduced while editing Achim's commit 091bf0
Thanks to Achim for reporting this! http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=091bf0
-rw-r--r--lisp/ob-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index a6124e2..78e087b 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -530,7 +530,7 @@ block."
(string= "yes" (cdr (assoc :cache params)))))
(new-hash (when cache-p (org-babel-sha1-hash info)))
(old-hash (when cache-p (org-babel-current-result-hash)))
- (cache-current (and (not arg) new-hash (equal new-hash old-hash))))
+ (cache-current-p (and (not arg) new-hash (equal new-hash old-hash))))
(when (or cache-current-p
(org-babel-confirm-evaluate
(let ((i info))