Browse Source

Fix 'org-hd-marker position changed in 0ef88e2d9

* lisp/org-agenda.el (org-agenda-get-scheduled): Move to correct point
before calculating the marker position.
Ihor Radchenko 3 years ago
parent
commit
7a04f3b1cd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-agenda.el

+ 1 - 0
lisp/org-agenda.el

@@ -6499,6 +6499,7 @@ scheduled items with an hour specification like [h]h:mm."
 			              org-habit-show-habits-only-for-today))))
 	           (throw :skip nil))
 	         (save-excursion
+                   (goto-char (org-element-property :begin el))
 	           (let* ((category (org-get-category))
                           (effort (save-match-data
                                     (or (get-text-property (point) 'effort)