Selaa lähdekoodia

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 12 vuotta sitten
vanhempi
commit
bdce4dbf9b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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))