diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 3df8af620..090e632b8 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -8004,7 +8004,7 @@ tags in the FILTER if any of the tags in FILTER are grouptags." (save-excursion (goto-char (point-min)) (while (not (eobp)) - (if (org-get-at-bol 'org-marker) + (if (org-get-at-bol 'org-hd-marker) (progn (setq tags (org-get-at-bol 'tags) cat (org-agenda-get-category)