Honour existing restrictions when clocking in from the agenda
commitfc1f01c54e5f9018374c15f11cf7b25c37996dd6
authorBernt Hansen <bernt@norang.ca>
Fri, 30 Dec 2011 15:49:08 +0000 (30 15:49 +0000)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sat, 31 Dec 2011 08:10:25 +0000 (31 09:10 +0100)
treec7031fd7b576c8c7435b2f965611febaa5b84ddb
parent9b250f8e091535466a37dcdcb9a3199ea0be9d41
Honour existing restrictions when clocking in from the agenda

* lisp/org-agenda.el (org-agenda-clock-in): Save restriction when clocking in from the agenda

Narrowed org buffers are now retained when clocking in from the agenda.
We only widen the buffer when the task to clock in is outside the existing
restriction.
lisp/org-agenda.el