branch: externals/org
commit 179ae6b232e57dc2b84e9ee71332b8d9d61c7c0f
Merge: b967a05 6a2c487
Author: Bastien <b...@gnu.org>
Commit: Bastien <b...@gnu.org>

    Merge branch 'bugfix'
---
 lisp/org-agenda.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ac74560..aa46d5b 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4107,7 +4107,9 @@ dimming them."                   ;FIXME: The arg isn't 
used, actually!
            (overlay-put ov 'face 'org-agenda-dimmed-todo-face))
          (when invisible
            (org-agenda-filter-hide-line 'todo-blocked)))
-       (move-beginning-of-line 2))))
+        (if (= (point-max) (line-end-position))
+            (goto-char (point-max))
+         (move-beginning-of-line 2)))))
   (when (called-interactively-p 'interactive)
     (message "Dim or hide blocked tasks...done")))
 

Reply via email to