diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-03-03 14:13:14 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-03-03 14:13:14 +0000 |
commit | 35ce93ebfd3e6af66658687773a00846b35ac419 (patch) | |
tree | 6a1511e7cf5d36fa6f7fbf914bac3e30d03113af /lisp/play/snake.el | |
parent | 7eb7c54447d17dfd72981ade45ccf68a401b3f8e (diff) | |
download | emacs-35ce93ebfd3e6af66658687773a00846b35ac419.tar.gz |
(snake-score-file): Put in home dir, not in /tmp.
Diffstat (limited to 'lisp/play/snake.el')
-rw-r--r-- | lisp/play/snake.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/play/snake.el b/lisp/play/snake.el index 2367705a68f..d99d342906b 100644 --- a/lisp/play/snake.el +++ b/lisp/play/snake.el @@ -82,7 +82,10 @@ (defvar snake-score-y snake-height "Y position of score.") -(defvar snake-score-file (concat temporary-file-directory "snake-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 snake-score-file "~/.snake-scores") "File for holding high scores.") ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |