1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(vc-make-version-backup): Fix the change made on

2003-07-26: msdos-long-file-names is a function, not a variable.
This commit is contained in:
Eli Zaretskii 2003-08-30 10:56:38 +00:00
parent 58ca48d187
commit ee9be3deb1

View File

@ -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)))