Fix agenda wrt commented headlines
* lisp/org.el (org-agenda-prepare-buffers): Ignore commented headlines deeper than level 1. Reported-by: Samuel Wales <samologist@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/99529>
This commit is contained in:
parent
7204ba0e46
commit
07a2d3d6f5
|
@ -18713,7 +18713,7 @@ When a buffer is unmodified, it is just killed. When modified, it is saved
|
|||
(if (org-at-heading-p t)
|
||||
(add-text-properties (point-at-bol) (org-end-of-subtree t) pa))))
|
||||
(goto-char (point-min))
|
||||
(setq re (format "^\\* .*\\<%s\\>" org-comment-string))
|
||||
(setq re (format "^\\*+ .*\\<%s\\>" org-comment-string))
|
||||
(while (re-search-forward re nil t)
|
||||
(when (save-match-data (org-in-commented-heading-p t))
|
||||
(add-text-properties
|
||||
|
|
Loading…
Reference in New Issue