bugfix - auto-update even when clocked out
Without this, if you 'resumed' the last project by deleting the clock-out event from the file, the buffer woudn't be updated to reflect it.
This commit is contained in:
parent
284902e70c
commit
98d108a335
|
@ -64,7 +64,7 @@
|
|||
;; ## TIMER ##
|
||||
(defun chronometrist-timer ()
|
||||
(let ((buffer-window (get-buffer-window chronometrist-buffer-name t)))
|
||||
(when (and buffer-window (chronometrist-current-project))
|
||||
(when buffer-window
|
||||
(with-current-buffer chronometrist-buffer-name
|
||||
(let ((position (window-point buffer-window)))
|
||||
(chronometrist-refresh)
|
||||
|
|
Reference in New Issue