From b47e0c8bfa37c4585ae80a950cdbc7c2ce96aa03 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Sun, 15 Dec 2019 12:20:05 -0500 Subject: [PATCH] org-agenda: Fix time regexp in org-get-entries-from-diary * lisp/org-agenda.el (org-get-entries-from-diary): Make time regular expression more precise. Reported-by: Justin Abrahms --- lisp/org-agenda.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 60eedb15e..e24945f62 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5135,6 +5135,7 @@ of what a project is and how to check if it stuck, customize the variable (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