mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
Revert "Honour existing restrictions when clocking in from the agenda"
This reverts commit c41a6f5a33
.
This commit is contained in:
parent
a7c6f70ab1
commit
9b9f2d0d8d
@ -7879,15 +7879,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."
|
||||
|
Loading…
Reference in New Issue
Block a user