Docs: (deadline-warning) Fix docstring
This commit is contained in:
parent
55694f17fc
commit
527c6f5123
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue