From 01989e543a7917c017d19cd51cb0584c09e9c5c3 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 3 Nov 2008 21:38:49 +0100 Subject: [PATCH] Fix quoting bug TODO state change code. In a recent patch, I forgot to quote a new variable in an expression which tests if the variable is bound. This has been fixed now. --- lisp/ChangeLog | 3 +++ lisp/org.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a2246b68..7c41d9224 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-11-03 Carsten Dominik + * org.el (org-todo): Quote + `org-agenda-headline-snapshot-before-repeat'. + * org-exp.el (org-export-as-html): Fully process link descriptions. (org-export-html-format-desc): New function. (org-export-as-html): Collect footnotes into the correct basket. diff --git a/lisp/org.el b/lisp/org.el index f2f633c73..6a6f9f402 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7963,7 +7963,7 @@ For calling through lisp, arg is also interpreted in the following way: (put-text-property (point-at-bol) (point-at-eol) 'org-todo-head head) ;; Do we need to trigger a repeat? (when now-done-p - (when (boundp org-agenda-headline-snapshot-before-repeat) + (when (boundp 'org-agenda-headline-snapshot-before-repeat) ;; This is for the agenda, take a snapshot of the headline. (save-match-data (setq org-agenda-headline-snapshot-before-repeat -- 2.11.4.GIT