diff options
| author | Eli Zaretskii | 2001-09-29 18:41:36 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-09-29 18:41:36 +0000 |
| commit | d0100d57b4bf5dbeb35e9b04731d4ed38764d60b (patch) | |
| tree | 93a67e05a1714e50cdce4f6359c1384d96652552 | |
| parent | a7c29c442c8d8f852b3fbf41885276ba95a3b160 (diff) | |
| download | emacs-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>.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/play/tetris.el | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index af5fab2cab1..d80cbbd6317 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2001-09-29 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * play/snake.el (snake-score-file): Use temporary-file-directory | ||
| 4 | instead of a literal "/tmp". Suggested by Robert | ||
| 5 | <robert@chezmarshall.freeserve.co.uk>. | ||
| 6 | |||
| 7 | * play/tetris.el (tetris-score-file): Ditto. | ||
| 8 | |||
| 1 | 2001-09-28 Eli Zaretskii <eliz@is.elta.co.il> | 9 | 2001-09-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 10 | ||
| 3 | * apropos.el (apropos-print): Make the directions inserted at the | 11 | * apropos.el (apropos-print): Make the directions inserted at the |
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.") |