aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-09-29 18:41:36 +0000
committerEli Zaretskii <[email protected]>2001-09-29 18:41:36 +0000
commitd0100d57b4bf5dbeb35e9b04731d4ed38764d60b (patch)
tree93a67e05a1714e50cdce4f6359c1384d96652552 /lisp/play
parenta7c29c442c8d8f852b3fbf41885276ba95a3b160 (diff)
(tetris-score-file): Use temporary-file-directory
instead of a literal "/tmp". Suggested by Robert <[email protected]>.
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/tetris.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el
index f294676faf..37b544f197 100644
--- a/lisp/play/tetris.el
+++ b/lisp/play/tetris.el
@@ -102,7 +102,7 @@ Element 0 is ignored.")
(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 "/[email protected]:/pub/cgw/tetris-scores"
"File for holding high scores.")