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
64341022
Commit
64341022
authored
Sep 21, 2000
by
André Spiegel
Browse files
(vc-name): Force correct computation of the value in case it is missing.
parent
42ac0ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lisp/vc-hooks.el
lisp/vc-hooks.el
+5
-2
No files found.
lisp/vc-hooks.el
View file @
64341022
...
...
@@ -5,7 +5,7 @@
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
;; $Id: vc-hooks.el,v 1.11
8
2000/09/
06 10:41:10 gerd
Exp $
;; $Id: vc-hooks.el,v 1.11
9
2000/09/
12 13:00:30 fx
Exp $
;; This file is part of GNU Emacs.
...
...
@@ -289,7 +289,10 @@ If the file is not registered, or the master name is not known, return nil."
;; TODO: This should ultimately become obsolete, at least up here
;; in vc-hooks.
(
or
(
vc-file-getprop
file
'vc-name
)
(
if
(
vc-backend
file
)
;; force computation of the property by calling
;; vc-BACKEND-registered explicitly
(
if
(
and
(
vc-backend
file
)
(
vc-call-backend
(
vc-backend
file
)
'registered
file
))
(
vc-file-getprop
file
'vc-name
))))
(
defun
vc-checkout-model
(
file
)
...
...
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