Fix a typo I introduced while editing Achim's commit 091bf0
authorBastien Guerry <bzg@altern.org>
Wed, 27 Feb 2013 12:29:23 +0000 (13:29 +0100)
committerBastien Guerry <bzg@altern.org>
Wed, 27 Feb 2013 12:29:23 +0000 (13:29 +0100)
Thanks to Achim for reporting this!
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=091bf0

lisp/ob-core.el

index a6124e2..78e087b 100644 (file)
@@ -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))