diff lisp/vc-hooks.el @ 94692:891cb8f8888f

More decoupling of vc-dispatcher.el from vc.el.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Tue, 06 May 2008 16:00:54 +0000
parents ee5932bf781d
children 7e7ef774315b
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Tue May 06 15:54:16 2008 +0000
+++ b/lisp/vc-hooks.el	Tue May 06 16:00:54 2008 +0000
@@ -901,6 +901,7 @@
       (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.