changeset 104827:dc1e0326ee77

2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl> * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are referencing the start of the line.
author Carsten Dominik <dominik@science.uva.nl>
date Thu, 03 Sep 2009 07:19:15 +0000
parents e52159c8d965
children 30bf04463395
files lisp/org/org-agenda.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/org/org-agenda.el	Thu Sep 03 07:18:54 2009 +0000
+++ b/lisp/org/org-agenda.el	Thu Sep 03 07:19:15 2009 +0000
@@ -2573,7 +2573,9 @@
 				       :from 'todo
 				       :to 'done)))))))
 	    (if org-blocked-by-checkboxes (setq invis1 nil))
-	    (setq b (if invis1 (max (point-min) (1- (point))) (point))
+	    (setq b (if invis1
+			(max (point-min) (1- (point-at-bol)))
+		      (point-at-bol))
 		  e (point-at-eol)
 		  ov (org-make-overlay b e))
 	    (if invis1