Procházet zdrojové kódy

Avoid deadline early warning in appointment reminders.

Carsten Dominik před 17 roky
rodič
revize
3beebdcaf5
2 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 3 0
      ChangeLog
  2. 1 0
      org.el

+ 3 - 0
ChangeLog

@@ -1,5 +1,8 @@
 2008-02-26  Carsten Dominik  <dominik@science.uva.nl>
 
+	* org.el (org-agenda-to-appt): Set `org-deadline-warning-days' to
+	nil for the duration of the command.
+
 	* org-publish.el (org-publish, org-publish-current-file)
 	(org-publish-all): Do not overrule the default value of
 	`org-publish-use-timestamps-flag' with a nil value of FORCE.

+ 1 - 0
org.el

@@ -18601,6 +18601,7 @@ belonging to the category \"Work\"."
       (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)