From 524242fc4d348e832066cad65e3e0bd0beccf196 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 29 Jan 2014 10:31:37 +0100 Subject: [PATCH] Fix 80fc5ad again --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 57de36c82..7a4f34728 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12720,7 +12720,7 @@ statistics everywhere." (setq cnt-all (1+ cnt-all)) (if (eq org-provide-todo-statistics t) (and kwd (setq cnt-all (1+ cnt-all))))) - (when (or (and (eq org-provide-todo-statistics t) + (when (or (and (member org-provide-todo-statistics '(t all-headlines)) (member kwd org-done-keywords)) (and (listp org-provide-todo-statistics) (listp (car org-provide-todo-statistics))