diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 2b56cb6..c7a07c4 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4697,6 +4697,9 @@ FRACTION is what fraction of the head-warning time has passed." (and (not todayp) org-habit-show-habits-only-for-today)) (throw :skip nil)) + (if (and (string= "hidden" (org-entry-get (point) "STYLE")) + (< today d2)) + (throw :skip nil)) (if (and (or (eq t org-agenda-skip-scheduled-if-deadline-is-shown) (and org-agenda-skip-scheduled-if-deadline-is-shown