aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2026-01-09 08:33:44 -0300
committerRaúl Benencia <id@rbenencia.name>2026-01-09 08:33:44 -0300
commit6e612bd64a2a8e6470a84e4dcdb639be9b953d55 (patch)
tree28651ae7133986119dbd5b1635b80c8faa2b544f
parent1cbf274249f58b0cafa6ead9d80cac8f25ae0bfb (diff)
Set force-mode-line-update
Changed org-tempus--update-mode-line to call force-mode-line-update with t so all buffers refresh. This should make the modeline update reliably after org-clock-out, even when the command is invoked from a different buffer. This is useful when clocking out from a different buffer. If it becomes too expensive, I'll look for other solutions.
-rw-r--r--org-tempus.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-tempus.el b/org-tempus.el
index 6cf9a5f..7ee267f 100644
--- a/org-tempus.el
+++ b/org-tempus.el
@@ -865,7 +865,7 @@ Return non-nil when an auto clock-in occurs."
(setq org-tempus-mode-line-string str))
(org-tempus--maybe-update-dconf
(substring-no-properties org-tempus-mode-line-string))
- (force-mode-line-update))
+ (force-mode-line-update t))
;;;###autoload
(define-minor-mode org-tempus-mode
nihil fit ex nihilo