Browse Source

Make sure org-agenda-to-app checks all files.

Bastien Guerry 16 years ago
parent
commit
ff52989cd4
2 changed files with 6 additions and 1 deletions
  1. 5 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-agenda.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-09-23  Bastien Guerry  <bzg@altern.org>
+
+	* org-agenda.el (org-agenda-to-appt): Make sure the function check
+	against all agenda files.
+
 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
 
 	* org-list.el: New file, aggregating list functions from org.el

+ 1 - 1
lisp/org-agenda.el

@@ -5367,7 +5367,7 @@ belonging to the \"Work\" category."
 	 (org-deadline-warning-days 0)
 	 (today (org-date-to-gregorian
 		 (time-to-days (current-time))))
-	 (files (org-agenda-files)) entries file)
+	 (files (org-agenda-files 'unrestricted)) entries file)
     ;; Get all entries which may contain an appt
     (while (setq file (pop files))
       (setq entries