changeset 25417:28211e20b0e4

(te-terminfo-directory): Use temporary-file-directory.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Aug 1999 18:24:28 +0000
parents 851241b72ec9
children b6e2164dbed8
files lisp/terminal.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/terminal.el	Sat Aug 28 18:23:49 1999 +0000
+++ b/lisp/terminal.el	Sat Aug 28 18:24:28 1999 +0000
@@ -187,7 +187,9 @@
 ;; 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)