diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-10 13:54:19 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-10 13:54:19 +0200 |
commit | 07a2d3d6f5cd56b915d413190802ef81988ba260 (patch) | |
tree | ed9caafcd625d01e5bd33e415e15b5a156d95a25 | |
parent | 7204ba0e4616714d22f04af62ee8e375275f1353 (diff) | |
download | org-mode-07a2d3d6f5cd56b915d413190802ef81988ba260.tar.gz |
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>
-rwxr-xr-x | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index bc3945c..d0ef7a6 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 |