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
This commit is contained in:
Ruslan Bekenev 2024-11-17 13:12:42 +11:00
parent a15d166249
commit f14c6da457

View File

@ -732,7 +732,8 @@ Modal editing modes checked, in order:
flycheck-status-changed-functions)) flycheck-status-changed-functions))
(mood-line-segment-vc--update (mood-line-segment-vc--update
. (find-file-hook . (find-file-hook
after-save-hook))) after-save-hook
vc-retrieve-tag-hook)))
"Alist of update functions and their corresponding hooks.") "Alist of update functions and their corresponding hooks.")
(defconst mood-line--advice-alist (defconst mood-line--advice-alist