Fix: `org-agenda-skip-scheduled-if-deadline-is-shown': show TODOs without deadline
commit62d759e3c941898ccf36569321b21a987281ffeb
authorMarkus Hauck <markus1189@gmail.com>
Tue, 11 Mar 2014 15:06:17 +0000 (11 16:06 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 14 Mar 2014 11:03:07 +0000 (14 12:03 +0100)
tree5ff35c3f0075ad6e9d323fcd4f5e014ad3f539fd
parent475f2f5388074c5153b3f35e41696419faa52b54
Fix: `org-agenda-skip-scheduled-if-deadline-is-shown': show TODOs without deadline

* lisp/org-agenda.el (org-agenda-get-scheduled): If
  `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
  'repeated-after-deadline, still show tasks without any deadline

The problem was that the check for the deadline seems to return a
default time even if no deadline is set for the task.  This adds a
check if there is a deadline at all, if there is none, the task is
shown in the agenda, otherwise the old semantics apply.

TINYCHANGE
lisp/org-agenda.el