diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-08-28 18:23:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-08-28 18:23:49 +0000 |
commit | dee83199211b84efff5f5497abd16689096d47ec (patch) | |
tree | 18d07eb722eb1fa04c0f0d2d0535d0e60c5d434a /lisp/ledit.el | |
parent | b976e099be16b765534aa96758d4c829c6dc8968 (diff) | |
download | emacs-dee83199211b84efff5f5497abd16689096d47ec.tar.gz |
(ledit-zap-file, ledit-read-file, ledit-compile-file):
Use temporary-file-directory.
Diffstat (limited to 'lisp/ledit.el')
-rw-r--r-- | lisp/ledit.el | 8 |
1 files changed, 5 insertions, 3 deletions
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.") |