Commit 3cee1495 authored by Carsten Dominik's avatar Carsten Dominik
Browse files

(org-prepare-agenda-buffers): Also check for invisible heading.

parent 040fc5eb
......@@ -13633,7 +13633,7 @@ Optional argument FILE means, use this file instead of the current."
(when org-agenda-skip-archived-trees
(goto-char (point-min))
(while (re-search-forward rea nil t)
(if (org-on-heading-p)
(if (org-on-heading-p t)
(add-text-properties (point-at-bol) (org-end-of-subtree t) pa))))
(goto-char (point-min))
(setq re (concat "^\\*+ +" org-comment-string "\\>"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment