From 9d01ca1bf357917de0c496e86405e24c65b5761c Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 2 Apr 2012 16:02:44 +0200 Subject: [PATCH] org-checklist.el: Fix dynamically bound variable name. * org-checklist.el (org-checklist): Fix dynamically bound variable name. Thanks to Bernt Hansen for reporting this. --- contrib/lisp/org-checklist.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-checklist.el b/contrib/lisp/org-checklist.el index a97487448..1345a55e3 100644 --- a/contrib/lisp/org-checklist.el +++ b/contrib/lisp/org-checklist.el @@ -129,7 +129,7 @@ of checkbox items" (a2ps-buffer))))))))) (defun org-checklist () - (when (member state org-done-keywords) + (when (member org-state org-done-keywords) ;; org-state dynamically bound in org.el/org-todo (org-make-checklist-export) (org-reset-checkbox-state-maybe))) -- 2.11.4.GIT