changeset 39500:0abc55fceb87

(tetris-score-file): Use temporary-file-directory instead of a literal "/tmp". Suggested by Robert <robert@chezmarshall.freeserve.co.uk>.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 29 Sep 2001 18:39:38 +0000
parents 54c9c11abe9e
children dc0beaa136f2
files lisp/play/tetris.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/tetris.el	Sat Sep 29 18:37:22 2001 +0000
+++ b/lisp/play/tetris.el	Sat Sep 29 18:39:38 2001 +0000
@@ -102,7 +102,7 @@
 (defvar tetris-score-y (+ tetris-next-y 6)
   "Y position of score.")
 
-(defvar tetris-score-file "/tmp/tetris-scores"
+(defvar tetris-score-file (concat temporary-file-directory "tetris-scores")
 ;; anybody with a well-connected server want to host this?
 ;(defvar tetris-score-file "/anonymous@ftp.pgt.com:/pub/cgw/tetris-scores"
   "File for holding high scores.")