From: "John K. Luebs" <jklu...@luebsphoto.com> * lisp/org.el (org-get-wdays): Handle matching a lead time specified in hours, which is matched by the current regexp but will erroneously return nil.
TINYCHANGE --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 310972b..e9353f6 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16227,7 +16227,8 @@ If SECONDS is non-nil, return the difference in seconds." (floor (* (string-to-number (match-string 1 ts)) (cdr (assoc (match-string 2 ts) '(("d" . 1) ("w" . 7) - ("m" . 30.4) ("y" . 365.25))))))) + ("m" . 30.4) ("y" . 365.25) + ("h" . 0.041667))))))) ;; go for the default. (t org-deadline-warning-days))) -- 1.8.1.2