diff options
author | Bastien Guerry <bzg@altern.org> | 2013-01-26 10:55:35 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-01-26 10:55:35 +0100 |
commit | 582cca58060f92bf6acd19bd6139dd991aae170c (patch) | |
tree | ba11e8a313651988a7d5a9757a5f8b4c8bb7bc83 | |
parent | 97f0951d142e78e31f7fccb9a4dd79f3578a194f (diff) | |
download | org-mode-582cca58060f92bf6acd19bd6139dd991aae170c.tar.gz |
org-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled/deadline lines
* org-agenda.el (org-agenda-skip): Fix bug by correctly
skipping commented scheduled/deadline lines.
This fixes a bug introduced in
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=211b13
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index f088e59..78dcd98 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3729,7 +3729,7 @@ Also moves point to the end of the skipped region, so that search can continue from there." (let ((p (point-at-bol)) to) (when (or - (eq (get-text-property p 'face) 'font-lock-comment-face) + (save-excursion (goto-char p) (looking-at comment-start-skip)) (and org-agenda-skip-archived-trees (not org-agenda-archives-mode) (get-text-property p :org-archived) (org-end-of-subtree t)) |