0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 08:40:45 +00:00

Revert "Honour existing restrictions when clocking in from the agenda"

This reverts commit fc1f01c54e.
This commit is contained in:
Carsten Dominik 2011-12-31 15:23:43 +01:00
parent a954f0e01a
commit 21e99fedc4

View file

@ -7797,15 +7797,14 @@ The cursor may be at a date in the calendar, or in the Org agenda."
newhead)
(org-with-remote-undo (marker-buffer marker)
(with-current-buffer (marker-buffer marker)
(save-restriction
(widen)
(goto-char pos)
(org-show-context 'agenda)
(org-show-entry)
(org-cycle-hide-drawers 'children)
(org-clock-in arg)
(setq newhead (org-get-heading)))
(org-agenda-change-all-lines newhead hdmarker))))))
(widen)
(goto-char pos)
(org-show-context 'agenda)
(org-show-entry)
(org-cycle-hide-drawers 'children)
(org-clock-in arg)
(setq newhead (org-get-heading)))
(org-agenda-change-all-lines newhead hdmarker)))))
(defun org-agenda-clock-out ()
"Stop the currently running clock."