mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
org-clock: Remove interactive from `org-clock-select-task'
* lisp/org-clock.el (org-clock-select-task): Remove `interactive'. This function is not meant to be called interactively. Use `org-clock-goto' with a prefix argument instead.
This commit is contained in:
parent
548b07741b
commit
748bfee34a
|
@ -591,8 +591,9 @@ cannot be translated."
|
|||
"Hook called in task selection just before prompting the user.")
|
||||
|
||||
(defun org-clock-select-task (&optional prompt)
|
||||
"Select a task that was recently associated with clocking."
|
||||
(interactive)
|
||||
"Select a task that was recently associated with clocking.
|
||||
Return marker position of the selected task. Raise an error if
|
||||
there is no recent clock to choose from."
|
||||
(let (och chl sel-list rpl (i 0) s)
|
||||
;; Remove successive dups from the clock history to consider
|
||||
(dolist (c org-clock-history)
|
||||
|
|
Loading…
Reference in a new issue