Fix docstring for clock continuation function

Forgot to adapt this previously.
This commit is contained in:
Daniel - 2023-12-06 16:40:56 +01:00
parent 416ba934f9
commit 482cebea68
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 6 additions and 1 deletions

View File

@ -420,7 +420,12 @@ should not be clocked."
parent-task))))
(defun db/ensure-running-clock ()
"Clocks in into the parent task, if it exists, or the default task."
"Try to find a clock to continue clocking and clock in there.
This functions tries to clock into the interrupted task, the
parent task, or the default task, in that order and only when
available, respectively. If none of these tasks is available,
interactively query the user for the next task to clock into."
(when (and (not org-clock-clocking-in)
(not org-clock-resolving-clocks-due-to-idleness))
(let ((parent-task (db/find-parent-task)))