diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-10-26 17:17:15 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-10-26 17:17:15 +0200 |
commit | 8e12716f686a9af26c176881743b870a3d27a2fe (patch) | |
tree | f605d7015a53592fa0db0446003c49d759cf1186 | |
parent | 5801fa6c6385c56f87aea1d81b2d91beae80ff3c (diff) | |
download | org-mode-8e12716f686a9af26c176881743b870a3d27a2fe.tar.gz |
Fix bug when computing clock tables.
* lisp/org-clock.el (org-dblock-write:clocktable): Fix bug
when computing clock tables.
Ouch, bad bug. Resetting the clock file time was always
happening in the same file, not in the different files
visited by the summer.
-rw-r--r-- | lisp/org-clock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 0e3200f..fa0558a 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1839,8 +1839,8 @@ the currently selected interval size." (setq p1 (plist-put p1 :scope 'file)) (org-prepare-agenda-buffers files) (while (setq file (pop files)) - (setq org-clock-file-total-minutes 0) (with-current-buffer (find-buffer-visiting file) + (setq org-clock-file-total-minutes 0) (setq tbl1 (org-dblock-write:clocktable p1)) (when tbl1 (push (org-clocktable-add-file |