diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-03-03 14:17:47 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-03-03 14:17:47 +0000 |
commit | 9caf26fececfca2072b59e6a1cc2a431155364d7 (patch) | |
tree | 30a041feef50b4be7bcdb547b9815164661fe1c4 /lisp/play | |
parent | 279b254c999302cbaace3aa924a6193adc1ddf90 (diff) | |
download | emacs-9caf26fececfca2072b59e6a1cc2a431155364d7.tar.gz |
(tetris-score-file): Put in home dir, not in /tmp.
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/tetris.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el index 44968431497..e0bd3f99aa8 100644 --- a/lisp/play/tetris.el +++ b/lisp/play/tetris.el @@ -150,7 +150,10 @@ Element 0 is ignored." (defvar tetris-score-y (+ tetris-next-y 6) "Y position of score.") -(defvar tetris-score-file (concat temporary-file-directory "tetris-scores") +;; It is not safe to put this in /tmp. +;; Someone could make a symlink in /tmp +;; pointing to a file you don't want to clobber. +(defvar tetris-score-file "~/.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.") |