diff options
author | Thomas Fitzsimmons <fitzsim@fitzsim.org> | 2019-12-15 12:20:05 -0500 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-12-22 15:14:04 +0100 |
commit | b47e0c8bfa37c4585ae80a950cdbc7c2ce96aa03 (patch) | |
tree | d52b68d8c6e27dd85e4dbc40fe219623e0b72bc6 | |
parent | 546cbad53196dcc469d81f089899664d275d3e9d (diff) | |
download | org-mode-b47e0c8bfa37c4585ae80a950cdbc7c2ce96aa03.tar.gz |
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 <justin@abrah.ms>
-rw-r--r-- | lisp/org-agenda.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 60eedb1..e24945f 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 |