diff options
| -rw-r--r-- | lisp/vc.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 15f304dcd18..91c5908b389 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.17 1992/11/20 17:23:45 jimb Exp rms $ | 8 | ;; $Id: vc.el,v 1.18 1992/11/20 19:33:38 rms Exp jimb $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -156,6 +156,11 @@ the master name of FILE; this is appended to an optional list of FLAGS." | |||
| 156 | status) | 156 | status) |
| 157 | (set-buffer (get-buffer-create "*vc*")) | 157 | (set-buffer (get-buffer-create "*vc*")) |
| 158 | (erase-buffer) | 158 | (erase-buffer) |
| 159 | |||
| 160 | ;; This is so that command arguments typed in the *vc* buffer will | ||
| 161 | ;; have reasonable defaults. | ||
| 162 | (setq default-directory (file-name-directory file)) | ||
| 163 | |||
| 159 | (mapcar | 164 | (mapcar |
| 160 | (function (lambda (s) (and s (setq squeezed (append squeezed (list s)))))) | 165 | (function (lambda (s) (and s (setq squeezed (append squeezed (list s)))))) |
| 161 | flags) | 166 | flags) |