Docs: (deadline-warning) Fix docstring

This commit is contained in:
Adam Porter 2019-10-02 15:31:58 -05:00
parent 55694f17fc
commit 527c6f5123

View file

@ -886,9 +886,7 @@ parseable by `parse-time-string' which may omit the time value."
:limit (line-end-position 2))) :limit (line-end-position 2)))
(org-ql--defpred deadline-warning (&key from to) (org-ql--defpred deadline-warning (&key from to)
"Internal selector used to handle `org-deadline-warning-days' and deadlines with warning periods. "Internal selector used to handle `org-deadline-warning-days' and deadlines with warning periods."
Should be called on a planning line, because it does not search
past the end of the current line."
(save-excursion (save-excursion
(forward-line 1) (forward-line 1)
(when (re-search-forward org-deadline-time-regexp (line-end-position) t) (when (re-search-forward org-deadline-time-regexp (line-end-position) t)