Przeglądaj źródła

Agenda: Fix bug when computing agenda appointments with restriction in place

Carsten Dominik 16 lat temu
rodzic
commit
9780353171
2 zmienionych plików z 4 dodań i 0 usunięć
  1. 3 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-agenda.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-agenda.el (org-agenda-to-appt): Turn off restriction when
+	creating appointments.
+
 	* org-latex.el (org-export-latex-low-levels): Fix customization
 	type.
 

+ 1 - 0
lisp/org-agenda.el

@@ -6207,6 +6207,7 @@ belonging to the \"Work\" category."
 	 (org-deadline-warning-days 0)
 	 (today (org-date-to-gregorian
 		 (time-to-days (current-time))))
+	 (org-agenda-restrict nil)
 	 (files (org-agenda-files 'unrestricted)) entries file)
     ;; Get all entries which may contain an appt
     (org-prepare-agenda-buffers files)