Fixed the deadline priorities.

This commit is contained in:
Carsten Dominik 2008-02-03 08:49:17 +01:00
parent 4a08cc3cba
commit 17c070e603
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-02-03 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-agenda-get-deadlines): Make sure priorities increase
as the due date approaches and is passed.
2008-02-01 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-make-link-regexps): Improve the regular expression

2
org.el
View File

@ -21387,7 +21387,7 @@ the documentation of `org-diary'."
(org-add-props txt props
'org-marker (org-agenda-new-marker pos)
'org-hd-marker (org-agenda-new-marker pos1)
'priority (+ (if upcomingp (floor (* dfrac 10.)) 100)
'priority (+ (floor (* dfrac 100.))
(org-get-priority txt))
'org-category category
'type (if upcomingp "upcoming-deadline" "deadline")