diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 59da393636a..91a73612246 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-09-24 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * vc-hooks.el (vc-delete-automatic-version-backups): Handle the | ||
| 4 | case where the file is relative. | ||
| 5 | |||
| 1 | 2001-09-24 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-09-24 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * xml.el (xml-parse-attlist): Quotes around attributes must be the | 8 | * xml.el (xml-parse-attlist): Quotes around attributes must be the |
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 5e6eba772cd..5083c1eed4e 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: FSF (see vc.el for full credits) | 5 | ;; Author: FSF (see vc.el for full credits) |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
| 7 | 7 | ||
| 8 | ;; $Id: vc-hooks.el,v 1.132 2001/07/11 22:05:01 monnier Exp $ | 8 | ;; $Id: vc-hooks.el,v 1.133 2001/09/22 20:09:40 monnier Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -485,7 +485,7 @@ a regexp for matching all such backup files, regardless of the version." | |||
| 485 | (condition-case nil | 485 | (condition-case nil |
| 486 | (mapcar | 486 | (mapcar |
| 487 | 'delete-file | 487 | 'delete-file |
| 488 | (directory-files (file-name-directory file) t | 488 | (directory-files (or (file-name-directory file) default-directory) t |
| 489 | (vc-version-backup-file-name file nil nil t))) | 489 | (vc-version-backup-file-name file nil nil t))) |
| 490 | ;; Don't fail when the directory doesn't exist. | 490 | ;; Don't fail when the directory doesn't exist. |
| 491 | (file-error nil))) | 491 | (file-error nil))) |