mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(vc-delete-automatic-version-backups): Handle the
case where the file is relative.
This commit is contained in:
parent
49cef826cf
commit
79e954d0ac
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2001-09-24 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* vc-hooks.el (vc-delete-automatic-version-backups): Handle the
|
||||
case where the file is relative.
|
||||
|
||||
2001-09-24 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xml.el (xml-parse-attlist): Quotes around attributes must be the
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: FSF (see vc.el for full credits)
|
||||
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
|
||||
|
||||
;; $Id: vc-hooks.el,v 1.132 2001/07/11 22:05:01 monnier Exp $
|
||||
;; $Id: vc-hooks.el,v 1.133 2001/09/22 20:09:40 monnier Exp $
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
@ -485,7 +485,7 @@ a regexp for matching all such backup files, regardless of the version."
|
|||
(condition-case nil
|
||||
(mapcar
|
||||
'delete-file
|
||||
(directory-files (file-name-directory file) t
|
||||
(directory-files (or (file-name-directory file) default-directory) t
|
||||
(vc-version-backup-file-name file nil nil t)))
|
||||
;; Don't fail when the directory doesn't exist.
|
||||
(file-error nil)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue