From: Richard M. Stallman Date: Sat, 28 Aug 1999 18:23:49 +0000 (+0000) Subject: (ledit-zap-file, ledit-read-file, ledit-compile-file): X-Git-Tag: emacs-pretest-21.0.90~7025 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dee83199211b84efff5f5497abd16689096d47ec;p=emacs.git (ledit-zap-file, ledit-read-file, ledit-compile-file): Use temporary-file-directory. --- diff --git a/lisp/ledit.el b/lisp/ledit.el index 230dd9444ee..a54e976cf85 100644 --- a/lisp/ledit.el +++ b/lisp/ledit.el @@ -33,12 +33,14 @@ (defvar ledit-mode-map nil) -(defconst ledit-zap-file (concat "/tmp/" (user-login-name) ".l1") +(defconst ledit-zap-file + (expand-file-name (concat (user-login-name) ".l1") temporary-file-directory) "File name for data sent to Lisp by Ledit.") -(defconst ledit-read-file (concat "/tmp/" (user-login-name) ".l2") +(defconst ledit-read-file + (expand-file-name (concat (user-login-name) ".l2") temporary-file-directory) "File name for data sent to Ledit by Lisp.") (defconst ledit-compile-file - (concat "/tmp/" (user-login-name) ".l4") + (expand-file-name (concat (user-login-name) ".l4") temporary-file-directory) "File name for data sent to Lisp compiler by Ledit.") (defconst ledit-buffer "*LEDIT*" "Name of buffer in which Ledit accumulates data to send to Lisp.")