Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a58b57e2
Commit
a58b57e2
authored
Mar 26, 2008
by
Dan Nicolaescu
Browse files
(vc-default-mode-line-string): Deal with 'removed
and 'missing files.
parent
96ffea61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-hooks.el
lisp/vc-hooks.el
+6
-0
No files found.
lisp/ChangeLog
View file @
a58b57e2
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.
...
...
lisp/vc-hooks.el
View file @
a58b57e2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment