diff lisp/vc-hooks.el @ 93239:3d37b67e5a01

(vc-default-mode-line-string): Deal with 'removed and 'missing files.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 26 Mar 2008 04:46:42 +0000
parents 6344844cc575
children 709d31efe571
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Wed Mar 26 03:43:43 2008 +0000
+++ b/lisp/vc-hooks.el	Wed Mar 26 04:46:42 2008 +0000
@@ -862,6 +862,12 @@
            ((eq state 'added)
             (setq state-echo "Locally added file")
             (concat backend "@" rev))
+           ((eq state 'removed)
+            (setq state-echo "File removed from the VC system")
+            (concat backend "!" rev))
+           ((eq state 'missing)
+            (setq state-echo "File tracked by the VC system, but missing from the file system")
+            (concat backend "^" rev))
 	   (t
 	    ;; Not just for the 'edited state, but also a fallback
 	    ;; for all other states.  Think about different symbols