mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 13:31:37 -07:00
(tetris-score-file): Put in home dir, not in /tmp.
This commit is contained in:
parent
279b254c99
commit
9caf26fece
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2002-03-03 Richard M. Stallman <rms@gnu.org>
|
||||
|
||||
* play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
|
||||
|
||||
* play/snake.el (snake-score-file): Put in home dir, not in /tmp.
|
||||
|
||||
* play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue