Browse Source

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
Bastien Guerry 4 years ago
parent
commit
bdce4dbf9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-core.el

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