bugfix - don't let chronometrist-refresh modify other buffers
This commit is contained in:
parent
ffe28109d8
commit
469002210d
|
@ -215,11 +215,12 @@ there is no corresponding project."
|
||||||
|
|
||||||
(defun chronometrist-refresh ()
|
(defun chronometrist-refresh ()
|
||||||
(timeclock-reread-log) ;; required when we create a new activity
|
(timeclock-reread-log) ;; required when we create a new activity
|
||||||
;; Trying to update partially doesn't update the activity indicator. Why?
|
(with-current-buffer chronometrist-buffer-name
|
||||||
(tabulated-list-print t nil)
|
;; Trying to update partially doesn't update the activity indicator. Why?
|
||||||
(chronometrist-print-non-tabular)
|
(tabulated-list-print t nil)
|
||||||
(chronometrist-goto-last-project)
|
(chronometrist-print-non-tabular)
|
||||||
(chronometrist-maybe-start-timer))
|
(chronometrist-goto-last-project)
|
||||||
|
(chronometrist-maybe-start-timer)))
|
||||||
|
|
||||||
(defun chronometrist-run-project-start-hook (project)
|
(defun chronometrist-run-project-start-hook (project)
|
||||||
(run-hook-with-args 'chronometrist-project-start-hook project))
|
(run-hook-with-args 'chronometrist-project-start-hook project))
|
||||||
|
|
Reference in New Issue