Fix priority bug in icalendar export.
This commit is contained in:
parent
99572d93b2
commit
cff8571c31
|
@ -1,5 +1,8 @@
|
|||
2008-10-28 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
* org-exp.el (org-print-icalendar-entries): Make the exported
|
||||
priorities compatible with RFC 2445.
|
||||
|
||||
* org-clock.el (org-clock-save): Insert time stamp without
|
||||
dependence on time-stamp.el.
|
||||
|
||||
|
|
|
@ -4384,8 +4384,8 @@ END:VEVENT\n"
|
|||
hd (concat (substring hd 0 (match-beginning 1))
|
||||
(substring hd (match-end 1))))
|
||||
(setq pri org-default-priority))
|
||||
(setq pri (floor (1+ (* 8. (/ (float (- org-lowest-priority pri))
|
||||
(- org-lowest-priority org-highest-priority))))))
|
||||
(setq pri (floor (- 9 (* 8. (/ (float (- org-lowest-priority pri))
|
||||
(- org-lowest-priority org-highest-priority))))))
|
||||
|
||||
(princ (format "BEGIN:VTODO
|
||||
UID: %s
|
||||
|
|
Loading…
Reference in New Issue