From f14c6da457cfa2e7be31183366972f43cb020aa6 Mon Sep 17 00:00:00 2001 From: Ruslan Bekenev Date: Sun, 17 Nov 2024 13:12:42 +1100 Subject: [PATCH] Add vc-retrieve-tag-hook to mood-line--hooks-alist This change should help mood-line to update displayed vs status when branch is switched using vc-switch-branch --- mood-line.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mood-line.el b/mood-line.el index b0a6359..1587d64 100644 --- a/mood-line.el +++ b/mood-line.el @@ -732,7 +732,8 @@ Modal editing modes checked, in order: flycheck-status-changed-functions)) (mood-line-segment-vc--update . (find-file-hook - after-save-hook))) + after-save-hook + vc-retrieve-tag-hook))) "Alist of update functions and their corresponding hooks.") (defconst mood-line--advice-alist -- 2.45.2