[Org] Remove unused ‘db/org-agenda-add-clocking-time’

This commit is contained in:
Daniel - 2017-12-15 21:46:14 +01:00
parent 28c6ae47a1
commit adc1cac590
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 0 additions and 15 deletions

View File

@ -533,21 +533,6 @@ are equal return nil."
(bind-key "C-c C-x C-a" #'db/org-add-clocking-time org-mode-map)
(defun db/org-agenda-add-clocking-time ()
"Add \"CLOCK:\" line to the task under point in the agenda.
Start and end time will be queried interactively."
(interactive)
;; FIXME: make this function to take two optional arguments
(if (not (eq major-mode 'org-agenda-mode))
(user-error "Must be in org agenda mode")
(save-window-excursion
(org-agenda-switch-to)
(db/org-add-clocking-time))))
(eval-after-load 'org-agenda
'(bind-key "V u" #'db/org-agenda-add-clocking-time org-agenda-mode-map))
;; A Hydra for changing agenda appearance
;; http://oremacs.com/2016/04/04/hydra-doc-syntax/