Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
7a04f3b1cd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)