summaryrefslogtreecommitdiff
path: root/lisp/terminal.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-08-28 18:24:28 +0000
committerRichard M. Stallman <rms@gnu.org>1999-08-28 18:24:28 +0000
commit0492dd4a868e7a0494d7cd09abfbc27d959ac645 (patch)
treef9393efb1fd8b18b7ca5fe95f2d17291f6891843 /lisp/terminal.el
parentdee83199211b84efff5f5497abd16689096d47ec (diff)
downloademacs-0492dd4a868e7a0494d7cd09abfbc27d959ac645.tar.gz
(te-terminfo-directory): Use temporary-file-directory.
Diffstat (limited to 'lisp/terminal.el')
-rw-r--r--lisp/terminal.el4
1 files changed, 3 insertions, 1 deletions
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)