aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1992-09-27 02:42:08 +0000
committerRoland McGrath1992-09-27 02:42:08 +0000
commitf480bf4b7488262c17f773bbfc6458c9d823b0dd (patch)
tree458cca092a019b716e068427b16d6a34435032d8
parent71fe1fcc5672aaf6deb139d54692717b34670053 (diff)
downloademacs-f480bf4b7488262c17f773bbfc6458c9d823b0dd.tar.gz
emacs-f480bf4b7488262c17f773bbfc6458c9d823b0dd.zip
(vc-update-change-log): Use file-relative-name.
-rw-r--r--lisp/vc.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 338ffc83c25..1b8afcfa1d3 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -5,7 +5,7 @@
5;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 5;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
6;; Version: 4.0 6;; Version: 4.0
7 7
8;; $Id: vc.el,v 1.4 1992/09/27 01:31:15 roland Exp roland $ 8;; $Id: vc.el,v 1.5 1992/09/27 01:51:04 roland Exp roland $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -781,11 +781,7 @@ From a program, any arguments are passed to the `rcs2log' script."
781 (while buffers 781 (while buffers
782 (setq file (buffer-file-name (car buffers))) 782 (setq file (buffer-file-name (car buffers)))
783 (and file (vc-backend-deduce file) 783 (and file (vc-backend-deduce file)
784 (setq files (cons (if (equal (file-name-directory file) 784 (setq files (cons (file-relative-name file) files)))
785 default-directory)
786 (file-name-nondirectory file)
787 file)
788 files)))
789 (setq buffers (cdr buffers))) 785 (setq buffers (cdr buffers)))
790 files)))) 786 files))))
791 (find-file-other-window "ChangeLog") 787 (find-file-other-window "ChangeLog")