changeset 52385:c114a41b1a70

(vc-make-version-backup): Fix the change made on 2003-07-26: msdos-long-file-names is a function, not a variable.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 30 Aug 2003 10:56:38 +0000
parents d7624ada9a94
children e2a889e11ec6
files lisp/vc-hooks.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Sat Aug 30 10:15:28 2003 +0000
+++ b/lisp/vc-hooks.el	Sat Aug 30 10:56:38 2003 +0000
@@ -6,7 +6,7 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc-hooks.el,v 1.157 2003/08/23 10:06:29 spiegel Exp $
+;; $Id: vc-hooks.el,v 1.158 2003/08/23 23:04:20 rost Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -589,7 +589,7 @@
   "Make a backup copy of FILE, which is assumed in sync with the repository.
 Before doing that, check if there are any old backups and get rid of them."
   (unless (and (fboundp 'msdos-long-file-names)
-               (not (with-no-warnings msdos-long-file-names)))
+               (not (with-no-warnings (msdos-long-file-names))))
     (vc-delete-automatic-version-backups file)
     (copy-file file (vc-version-backup-file-name file)
                nil 'keep-date)))