]> git.eshelyaron.com Git - emacs.git/commitdiff
(org-prepare-agenda-buffers): Also check for invisible heading.
authorCarsten Dominik <dominik@science.uva.nl>
Thu, 1 Mar 2007 06:08:15 +0000 (06:08 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Thu, 1 Mar 2007 06:08:15 +0000 (06:08 +0000)
lisp/textmodes/org.el

index 7772f7cb96608c2e180ce16611b1851e4f2bfe6d..61d4a690ef9435b48802b7768703138f52c1922c 100644 (file)
@@ -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 "\\>"))