diff options
author | Bastien Guerry <bzg@altern.org> | 2008-02-26 18:06:39 +0000 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2008-02-26 18:06:39 +0000 |
commit | 9e7b43d39190ec903cd8967e675307adb9e528b6 (patch) | |
tree | 5688a777be4cf9615a90a5aadc1a7ce02856cf76 | |
parent | 69e639438e13c11d9c9b5af97f4c0d211e0b9d7d (diff) | |
download | org-mode-9e7b43d39190ec903cd8967e675307adb9e528b6.tar.gz |
Docstring fix for `org-deadline-warning-days'.
Don't use (org-deadline-warning-days 0) in `org-agenda-to-appt'.
Removing the :deadline property from the list of arguments in the
`org-agenda-get-day-entries' call should be enough.
Prevent `appt-check' from modifying the current window layout.
-rw-r--r-- | org.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2708,7 +2708,7 @@ nearest into the future." (defcustom org-deadline-warning-days 14 "No. of days before expiration during which a deadline becomes active. This variable governs the display in sparse trees and in the agenda. -When negative, it means use this number (the absolute value of it) +When negative or null, it means use the absolute value of this number even if a deadline has a different individual lead time specified." :group 'org-time :group 'org-agenda-daily/weekly @@ -18600,12 +18600,11 @@ belonging to the category \"Work\"." (require 'calendar) (require 'appt) (setq appt-time-msg-list nil) - (appt-check t) + (save-window-excursion (appt-check t)) (if (equal filter '(4)) (setq filter (read-from-minibuffer "Regexp filter: "))) (let* ((cnt 0) ; count added events (org-agenda-new-buffers nil) - (org-deadline-warning-days 0) (today (org-date-to-gregorian (time-to-days (current-time)))) (files (org-agenda-files)) entries file) |