From 938be223a8bfd75df61a703d392d2154b6c479c4 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Fri, 13 Dec 2019 15:57:28 -0500 Subject: [PATCH] Fix time regexp in org-get-entries-from-diary * lisp/org/org-agenda.el (org-get-entries-from-diary): Make time regular expression more precise. Reported-by: Justin Abrahms --- lisp/org/org-agenda.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 2404ca43dc..05c35b8ac3 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -5135,6 +5135,7 @@ org-get-entries-from-diary (cons 'org-diary-default-entry diary-list-entries-hook)) (diary-file-name-prefix nil) ; turn this feature off (diary-modify-entry-list-string-function 'org-modify-diary-entry-string) + (diary-time-regexp (concat "^" diary-time-regexp)) entries (org-disable-agenda-to-diary t)) (save-excursion -- 2.24.0