Commit a58b57e2 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-default-mode-line-string): Deal with 'removed

and 'missing files.
parent 96ffea61
2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
* vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
and 'missing files.
2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
 
* calendar/holidays.el (list-holidays): Make Y2 optional.
......
......@@ -862,6 +862,12 @@ This function assumes that the file is registered."
((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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment