branch: externals/org
commit 77a9932b03c3b3a2bffe3b199b36aaffe2838175
Author: Bastien <b...@gnu.org>
Commit: Bastien <b...@gnu.org>

    lisp/org-agenda.el:
    
    * lisp/org-agenda.el (org-agenda-get-scheduled): Don't throw an
    error when the search for the regular expression fails.
    
    This completes 82197761.
---
 lisp/org-agenda.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 20d1560..2a73816 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6408,7 +6408,7 @@ scheduled items with an hour specification like [h]h:mm."
                                     1 -1))
                       (pos (save-excursion
                              (goto-char (org-element-property :contents-begin 
el))
-                             (re-search-forward regexp)
+                             (re-search-forward regexp nil t)
                              (1- (match-beginning 1))))
                       (todo-state (org-element-property :todo-keyword el))
                      (donep (eq 'done (org-element-property :todo-type el)))

Reply via email to