1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

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.
This commit is contained in:
Carsten Dominik 2008-11-03 21:38:49 +01:00
parent ca27c1d0b3
commit 01989e543a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-11-03 Carsten Dominik <dominik@science.uva.nl> 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-todo): Quote
`org-agenda-headline-snapshot-before-repeat'.
* org-exp.el (org-export-as-html): Fully process link descriptions. * org-exp.el (org-export-as-html): Fully process link descriptions.
(org-export-html-format-desc): New function. (org-export-html-format-desc): New function.
(org-export-as-html): Collect footnotes into the correct basket. (org-export-as-html): Collect footnotes into the correct basket.

View File

@ -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) (put-text-property (point-at-bol) (point-at-eol) 'org-todo-head head)
;; Do we need to trigger a repeat? ;; Do we need to trigger a repeat?
(when now-done-p (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. ;; This is for the agenda, take a snapshot of the headline.
(save-match-data (save-match-data
(setq org-agenda-headline-snapshot-before-repeat (setq org-agenda-headline-snapshot-before-repeat