]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-update-change-log): Use temporary-file-directory.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 17:53:32 +0000 (17:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 May 1998 17:53:32 +0000 (17:53 +0000)
Use expand-file-name on it.

lisp/vc.el

index f54be6433b61a82f98f45c9919ad7f051fc1daba..51d3748943b31a0fc6e598b557758ad6440b9a34 100644 (file)
@@ -5,7 +5,7 @@
 ;; Author:     Eric S. Raymond <esr@snark.thyrsus.com>
 ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de>
 
-;; $Id: vc.el,v 1.225 1998/05/02 16:41:08 spiegel Exp rms $
+;; $Id: vc.el,v 1.226 1998/05/16 03:44:16 rms Exp rms $
 
 ;; This file is part of GNU Emacs.
 
@@ -2120,8 +2120,7 @@ default directory."
        (changelog (find-change-log))
        ;; Presumably not portable to non-Unixy systems, along with rcs2log:
        (tempfile (make-temp-name
-                  (concat (file-name-as-directory system-tmp-directory) 
-                          "vc")))
+                  (expand-file-name "vc" temporary-file-directory)))
        (full-name (or add-log-full-name
                       (user-full-name)
                       (user-login-name)