Merge branch 'maint'
This commit is contained in:
commit
36170429c3
|
@ -137,15 +137,16 @@ simple timestamp string."
|
||||||
"Create the todo-list for one org-agenda file."
|
"Create the todo-list for one org-agenda file."
|
||||||
(let* ((files (org-agenda-files 'unrestricted))
|
(let* ((files (org-agenda-files 'unrestricted))
|
||||||
(max (1- (length files))))
|
(max (1- (length files))))
|
||||||
(setq org-notify-parse-file
|
(when files
|
||||||
(if (or (not org-notify-parse-file) (>= org-notify-parse-file max))
|
(setq org-notify-parse-file
|
||||||
0
|
(if (or (not org-notify-parse-file) (>= org-notify-parse-file max))
|
||||||
(1+ org-notify-parse-file)))
|
0
|
||||||
(save-excursion
|
(1+ org-notify-parse-file)))
|
||||||
(with-current-buffer (find-file-noselect
|
(save-excursion
|
||||||
(nth org-notify-parse-file files))
|
(with-current-buffer (find-file-noselect
|
||||||
(org-element-map (org-element-parse-buffer 'headline)
|
(nth org-notify-parse-file files))
|
||||||
'headline 'org-notify-make-todo)))))
|
(org-element-map (org-element-parse-buffer 'headline)
|
||||||
|
'headline 'org-notify-make-todo))))))
|
||||||
|
|
||||||
(defun org-notify-maybe-too-late (diff period heading)
|
(defun org-notify-maybe-too-late (diff period heading)
|
||||||
"Print warning message, when notified significantly later than defined by
|
"Print warning message, when notified significantly later than defined by
|
||||||
|
|
Loading…
Reference in New Issue