diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2011-12-31 15:23:43 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2011-12-31 15:23:43 +0100 |
commit | 21e99fedc4bc3bb2b2a70f7fb78e3f13c891711c (patch) | |
tree | ee5b820c83825ae4849cd5eca8692447c7b20d8b | |
parent | a954f0e01a12e923bbedd5071cbfe4ab80d4fd57 (diff) | |
download | org-mode-21e99fedc4bc3bb2b2a70f7fb78e3f13c891711c.tar.gz |
Revert "Honour existing restrictions when clocking in from the agenda"
This reverts commit fc1f01c54e5f9018374c15f11cf7b25c37996dd6.
-rw-r--r-- | lisp/org-agenda.el | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index f240f5e..780794e 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -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." |