forked from mirrors/org-mode
Fix bug in org-agenda-diary-sexp-prefix
* lisp/org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at beginning of re-search-forward loop, otherwise next iteration picks up `extra' value from previous entry.
This commit is contained in:
parent
73cfba486b
commit
58551f1e5f
|
@ -5454,7 +5454,8 @@ Do we have a reason to ignore this TODO entry because it has a time stamp?
|
|||
tags (save-excursion (org-backward-heading-same-level 0)
|
||||
(org-get-tags-at))
|
||||
todo-state (org-get-todo-state)
|
||||
warntime (org-entry-get (point) "APPT_WARNTIME"))
|
||||
warntime (org-entry-get (point) "APPT_WARNTIME")
|
||||
extra nil)
|
||||
|
||||
(dolist (r (if (stringp result)
|
||||
(list result)
|
||||
|
|
Loading…
Reference in a new issue