From 8a16876d7b1a34a8dc207db36a43563c97580cde Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 28 Aug 1999 18:24:28 +0000 Subject: (te-terminfo-directory): Use temporary-file-directory. --- lisp/terminal.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/terminal.el') diff --git a/lisp/terminal.el b/lisp/terminal.el index 275884cade6..e96bad98c86 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el @@ -187,7 +187,9 @@ performance." ;; Required to support terminfo systems (defconst te-terminal-name-prefix "emacs-em" "Prefix used for terminal type names for Terminfo.") -(defconst te-terminfo-directory "/tmp/emacs-terminfo/" +(defconst te-terminfo-directory + (file-name-as-directory + (expand-file-name "emacs-terminfo" temporary-file-directory)) "Directory used for run-time terminal definition files for Terminfo.") (defvar te-terminal-name nil) -- cgit v1.2.1