aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2007-03-01 06:08:15 +0000
committerCarsten Dominik2007-03-01 06:08:15 +0000
commit3cee14950cd1ff2a23c0ecb153f829c0c4873845 (patch)
tree50df3f0a85cd97a48e90f47c04435331b1bf3d95
parent040fc5eb6ef2a749555e7380a22a2b714b19e8a2 (diff)
downloademacs-3cee14950cd1ff2a23c0ecb153f829c0c4873845.tar.gz
emacs-3cee14950cd1ff2a23c0ecb153f829c0c4873845.zip
(org-prepare-agenda-buffers): Also check for invisible heading.
-rw-r--r--lisp/textmodes/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 7772f7cb966..61d4a690ef9 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -13633,7 +13633,7 @@ Optional argument FILE means, use this file instead of the current."
13633 (when org-agenda-skip-archived-trees 13633 (when org-agenda-skip-archived-trees
13634 (goto-char (point-min)) 13634 (goto-char (point-min))
13635 (while (re-search-forward rea nil t) 13635 (while (re-search-forward rea nil t)
13636 (if (org-on-heading-p) 13636 (if (org-on-heading-p t)
13637 (add-text-properties (point-at-bol) (org-end-of-subtree t) pa)))) 13637 (add-text-properties (point-at-bol) (org-end-of-subtree t) pa))))
13638 (goto-char (point-min)) 13638 (goto-char (point-min))
13639 (setq re (concat "^\\*+ +" org-comment-string "\\>")) 13639 (setq re (concat "^\\*+ +" org-comment-string "\\>"))