diff options
author | Bastien <bzg@gnu.org> | 2020-02-04 08:58:15 +0100 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2020-02-04 08:58:15 +0100 |
commit | 2cfcdeab96a09a9121cfd99c31daac97fd91f054 (patch) | |
tree | a823f5c42599f99a74b4194e9a4b75f5c7af0c63 | |
parent | cb19f5c94e3dc94da78169ec675d5bd07af34427 (diff) | |
download | org-mode-2cfcdeab96a09a9121cfd99c31daac97fd91f054.tar.gz |
org.el: Fix `org-[scheduled|deadline]-time-hour-regexp'
* lisp/org.el (org-deadline-time-hour-regexp)
(org-scheduled-time-hour-regexp): Also match habits.
Thanks to Damian for reporting this.
-rw-r--r-- | lisp/org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index 602d8c7..2b7cb9a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -414,7 +414,7 @@ Matched keyword is in group 1.") (defconst org-deadline-time-hour-regexp (concat "\\<" org-deadline-string - " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t.-]*\\)>") + " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \t.-]*\\)>") "Matches the DEADLINE keyword together with a time-and-hour stamp.") (defconst org-deadline-line-regexp @@ -430,7 +430,7 @@ Matched keyword is in group 1.") (defconst org-scheduled-time-hour-regexp (concat "\\<" org-scheduled-string - " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t.-]*\\)>") + " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ \t.-]*\\)>") "Matches the SCHEDULED keyword together with a time-and-hour stamp.") (defconst org-closed-time-regexp |