changeset 76245:9d0480c6016a

(org-prepare-agenda-buffers): Also check for invisible heading.
author Carsten Dominik <dominik@science.uva.nl>
date Thu, 01 Mar 2007 06:08:15 +0000
parents a5f83aa322a4
children d2ecb2b1abb5
files lisp/textmodes/org.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Thu Mar 01 06:07:36 2007 +0000
+++ b/lisp/textmodes/org.el	Thu Mar 01 06:08:15 2007 +0000
@@ -13633,7 +13633,7 @@
 	    (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 "\\>"))