Mercurial > emacs
changeset 39499:54c9c11abe9e
(snake-score-file): Use temporary-file-directory
instead of a literal "/tmp". Suggested by Robert
<robert@chezmarshall.freeserve.co.uk>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 29 Sep 2001 18:37:22 +0000 |
parents | 31e2283c2561 |
children | 0abc55fceb87 |
files | lisp/play/snake.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/snake.el Sat Sep 29 10:14:14 2001 +0000 +++ b/lisp/play/snake.el Sat Sep 29 18:37:22 2001 +0000 @@ -82,7 +82,7 @@ (defvar snake-score-y snake-height "Y position of score.") -(defvar snake-score-file "/tmp/snake-scores" +(defvar snake-score-file (concat temporary-file-directory "snake-scores") "File for holding high scores.") ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;