summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2003-08-30 10:56:38 +0000
committerEli Zaretskii <eliz@gnu.org>2003-08-30 10:56:38 +0000
commit4d6b767f6c5854139213e010e6aff609cbd49976 (patch)
tree11326d95931ce50483ea883b70e746f9151b885b
parentb7368175aaf33e67005fe16ad2abc628a036a4bf (diff)
downloademacs-4d6b767f6c5854139213e010e6aff609cbd49976.tar.gz
(vc-make-version-backup): Fix the change made on
2003-07-26: msdos-long-file-names is a function, not a variable.
-rw-r--r--lisp/vc-hooks.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 36041751199..33ec82a94c2 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -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 @@ a regexp for matching all such backup files, regardless of the version."
"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)))