# HG changeset patch # User Richard M. Stallman # Date 902560300 0 # Node ID f20bf5cd31d959ca92496d02e7645f661c742b59 # Parent cfde96067373ac31a8291fc080821ee0970e7a16 (vc-file-not-found-hook): Call vc-file-clearprops. diff -r cfde96067373 -r f20bf5cd31d9 lisp/vc-hooks.el --- a/lisp/vc-hooks.el Sat Aug 08 06:17:03 1998 +0000 +++ b/lisp/vc-hooks.el Sat Aug 08 07:11:40 1998 +0000 @@ -5,7 +5,7 @@ ;; Author: Eric S. Raymond ;; Maintainer: Andre Spiegel -;; $Id: vc-hooks.el,v 1.109 1998/05/07 21:34:54 rms Exp spiegel $ +;; $Id: vc-hooks.el,v 1.110 1998/05/17 15:33:39 spiegel Exp rms $ ;; This file is part of GNU Emacs. @@ -1119,6 +1119,9 @@ (defun vc-file-not-found-hook () "When file is not found, try to check it out from RCS or SCCS. Returns t if checkout was successful, nil otherwise." + ;; When a file does not exist, ignore cached info about it + ;; from a previous visit. + (vc-file-clearprops buffer-file-name) (if (and (not vc-ignore-vc-files) (vc-backend buffer-file-name)) (save-excursion