aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
diff options
context:
space:
mode:
authorEli Zaretskii2001-09-29 18:41:36 +0000
committerEli Zaretskii2001-09-29 18:41:36 +0000
commitd0100d57b4bf5dbeb35e9b04731d4ed38764d60b (patch)
tree93a67e05a1714e50cdce4f6359c1384d96652552 /lisp/play
parenta7c29c442c8d8f852b3fbf41885276ba95a3b160 (diff)
downloademacs-d0100d57b4bf5dbeb35e9b04731d4ed38764d60b.tar.gz
emacs-d0100d57b4bf5dbeb35e9b04731d4ed38764d60b.zip
(tetris-score-file): Use temporary-file-directory
instead of a literal "/tmp". Suggested by Robert <robert@chezmarshall.freeserve.co.uk>.
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 f294676faf1..37b544f1976 100644
--- a/lisp/play/tetris.el
+++ b/lisp/play/tetris.el
@@ -102,7 +102,7 @@ Element 0 is ignored.")
102(defvar tetris-score-y (+ tetris-next-y 6) 102(defvar tetris-score-y (+ tetris-next-y 6)
103 "Y position of score.") 103 "Y position of score.")
104 104
105(defvar tetris-score-file "/tmp/tetris-scores" 105(defvar tetris-score-file (concat temporary-file-directory "tetris-scores")
106;; anybody with a well-connected server want to host this? 106;; anybody with a well-connected server want to host this?
107;(defvar tetris-score-file "/anonymous@ftp.pgt.com:/pub/cgw/tetris-scores" 107;(defvar tetris-score-file "/anonymous@ftp.pgt.com:/pub/cgw/tetris-scores"
108 "File for holding high scores.") 108 "File for holding high scores.")