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.
This commit is contained in:
Bastien Guerry 2012-04-02 16:02:44 +02:00
parent e74121b0cc
commit 9d01ca1bf3
1 changed files with 1 additions and 1 deletions

View File

@ -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)))