diff options
| author | Raúl Benencia <id@rbenencia.name> | 2025-12-24 06:20:02 -0800 |
|---|---|---|
| committer | Raúl Benencia <id@rbenencia.name> | 2025-12-24 06:20:02 -0800 |
| commit | 747c318f7b1417b039544a5dc6d570c4e256f975 (patch) | |
| tree | 7786b66403791a886e1ef99f2ec9b2fe44dd34ef | |
| parent | d5e791bab399aabb5554796ee00adcf84d75d264 (diff) | |
force modeline update when switching show-legend.
| -rw-r--r-- | org-tempus.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org-tempus.el b/org-tempus.el index 61fcaf0..8e4f890 100644 --- a/org-tempus.el +++ b/org-tempus.el @@ -80,6 +80,10 @@ (defcustom org-tempus-show-legend t "When non-nil, show legend labels (S, T, B) in the mode line." :type 'boolean + :set (lambda (symbol value) + (set-default symbol value) + (when (bound-and-true-p org-tempus-mode) + (org-tempus--update-mode-line))) :group 'org-tempus) (defface org-tempus-session-face |
