Fix bug with diary-display-date-form

This commit is contained in:
Carsten Dominik 2009-11-09 22:44:18 +01:00
parent 001fc9748a
commit 1d6570928a
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
Require diary-lib for (diary-date-display-form).
* org.el (org-log-reschedule, org-log-redeadline): New options.
(org-log-note-headings): Add templates for rescheduling and
deadline changing.

View File

@ -6702,6 +6702,7 @@ the resulting entry will not be shown. When TEXT is empty, switch to
(org-back-over-empty-lines)
(backward-char 1)
(insert "\n")
(require 'diary-lib)
(let ((calendar-date-display-form (diary-date-display-form)))
(insert (format "%%%%(diary-anniversary %s) %s"
(calendar-date-string d1 nil t) text))))