فهرست منبع

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.
Carsten Dominik 17 سال پیش
والد
کامیت
01989e543a
2فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 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-export-html-format-desc): New function.
 	(org-export-as-html): Collect footnotes into the correct basket.

+ 1 - 1
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