diff options
| author | Eli Zaretskii | 2001-09-29 18:37:22 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-09-29 18:37:22 +0000 |
| commit | a7c29c442c8d8f852b3fbf41885276ba95a3b160 (patch) | |
| tree | 145d9d122c967673d7f6327367e54b58b4ffafe1 | |
| parent | 07b041a7fbfe1bb2def169d62a0fdd85f9dc5368 (diff) | |
| download | emacs-a7c29c442c8d8f852b3fbf41885276ba95a3b160.tar.gz emacs-a7c29c442c8d8f852b3fbf41885276ba95a3b160.zip | |
(snake-score-file): Use temporary-file-directory
instead of a literal "/tmp". Suggested by Robert
<robert@chezmarshall.freeserve.co.uk>.
| -rw-r--r-- | lisp/play/snake.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/snake.el b/lisp/play/snake.el index d6ab90052c0..c4127f6fab0 100644 --- a/lisp/play/snake.el +++ b/lisp/play/snake.el | |||
| @@ -82,7 +82,7 @@ | |||
| 82 | (defvar snake-score-y snake-height | 82 | (defvar snake-score-y snake-height |
| 83 | "Y position of score.") | 83 | "Y position of score.") |
| 84 | 84 | ||
| 85 | (defvar snake-score-file "/tmp/snake-scores" | 85 | (defvar snake-score-file (concat temporary-file-directory "snake-scores") |
| 86 | "File for holding high scores.") | 86 | "File for holding high scores.") |
| 87 | 87 | ||
| 88 | ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 88 | ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |