Speed up setting/getting the APPT_WARNTIME property.
commit6cd243468bfa770490074ade3e963b676026a4a1
authorBastien Guerry <bzg@altern.org>
Mon, 7 Jan 2013 11:50:49 +0000 (7 12:50 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 7 Jan 2013 11:50:49 +0000 (7 12:50 +0100)
tree04481b13aa20ed33f94f3af55454a3ceca9d3fc0
parent334596e3c7d4d793031cd8312f9b3ab18c0aa082
Speed up setting/getting the APPT_WARNTIME property.

* org.el (org-refresh-properties): Rename from
`org-refresh-effort-properties' and use two new parameters.
(org-agenda-prepare-buffers): Use `org-refresh-properties'.
Also refresh the 'org-appt-warntime text property.

* org-clock.el (org-clock-in): Use the renamed defun.

* org-icalendar.el (org-icalendar-print-entries): Refresh the
'org-appt-warntime property.
(org-icalendar-print-entries): Do not use `org-entry-get' to
get the "APPT_WARNTIME" property value.

* org-agenda.el (org-agenda-get-timestamps)
(org-agenda-get-sexps, org-agenda-get-deadlines)
(org-agenda-get-scheduled): Ditto.
lisp/org-agenda.el
lisp/org-clock.el
lisp/org-icalendar.el
lisp/org.el