diff options
author | Marcin Borkowski <mbork@mbork.pl> | 2019-06-24 21:05:56 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-07-14 23:59:55 +0200 |
commit | 3b006f9a3ee360096b2218f0881f4443da4ee069 (patch) | |
tree | 04595f5b9b01a5c6912262ce08f6457080d49431 | |
parent | 64262af685892782983489ab42e13f727be1fe37 (diff) | |
download | org-mode-3b006f9a3ee360096b2218f0881f4443da4ee069.tar.gz |
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).
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index c05d0a7..d54a6ba 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -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) |