# HG changeset patch # User Andr Spiegel # Date 969542126 0 # Node ID 25632a490236ca94389045849e9412b9d0ecb421 # Parent db5ea3d2a1b4408aedd13216b2af2eb83d8c5d27 (vc-name): Force correct computation of the value in case it is missing. diff -r db5ea3d2a1b4 -r 25632a490236 lisp/vc-hooks.el --- a/lisp/vc-hooks.el Thu Sep 21 11:49:09 2000 +0000 +++ b/lisp/vc-hooks.el Thu Sep 21 13:15:26 2000 +0000 @@ -5,7 +5,7 @@ ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Andre Spiegel -;; $Id: vc-hooks.el,v 1.118 2000/09/06 10:41:10 gerd Exp $ +;; $Id: vc-hooks.el,v 1.119 2000/09/12 13:00:30 fx Exp $ ;; This file is part of GNU Emacs. @@ -289,7 +289,10 @@ ;; 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)