summaryrefslogtreecommitdiff
path: root/lisp/vc-hooks.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2008-05-06 16:00:54 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2008-05-06 16:00:54 +0000
commitc8d4f1a0a6472a109f6f66709b1a4555823b16d4 (patch)
tree782f7304424b2b2fa52763499df2e0ad35199daa /lisp/vc-hooks.el
parent5509c6add4c2bf1430c1ed0eb5770e259e1afcf9 (diff)
downloademacs-c8d4f1a0a6472a109f6f66709b1a4555823b16d4.tar.gz
More decoupling of vc-dispatcher.el from vc.el.
Diffstat (limited to 'lisp/vc-hooks.el')
-rw-r--r--lisp/vc-hooks.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 74be3c36742..971c92ef775 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -901,6 +901,7 @@ current, and kill the buffer that visits the link."
(setq vc-mode nil))
(when buffer-file-name
(vc-file-clearprops buffer-file-name)
+ (add-hook 'mode-line-hook 'vc-mode-line nil t)
(cond
((with-demoted-errors (vc-backend buffer-file-name))
;; Compute the state and put it in the modeline.