mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-11 09:20:32 +00:00
Fix a bug when org-agenda-todo-ignore-deadlines
is set to t
* lisp/org-agenda.el (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item): Make `t' synonymous with `near' instead of `all' (as is stated in the docstring).
This commit is contained in:
parent
64262af685
commit
3b006f9a3e
@ -5431,7 +5431,7 @@ This function is invoked if `org-agenda-todo-ignore-deadlines',
|
||||
(and org-agenda-todo-ignore-deadlines
|
||||
(re-search-forward org-deadline-time-regexp end t)
|
||||
(cond
|
||||
((memq org-agenda-todo-ignore-deadlines '(t all)) t)
|
||||
((eq org-agenda-todo-ignore-deadlines 'all) t)
|
||||
((eq org-agenda-todo-ignore-deadlines 'far)
|
||||
(not (org-deadline-close-p (match-string 1))))
|
||||
((eq org-agenda-todo-ignore-deadlines 'future)
|
||||
|
Loading…
Reference in New Issue
Block a user