Mercurial > emacs
comparison lisp/play/snake.el @ 43650:93a9551db080
(snake-score-file): Put in home dir, not in /tmp.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 Mar 2002 14:13:14 +0000 |
parents | dc17128932c4 |
children | 1ae60187a39d |
comparison
equal
deleted
inserted
replaced
43649:662351ad5213 | 43650:93a9551db080 |
---|---|
80 "X position of score.") | 80 "X position of score.") |
81 | 81 |
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 (concat temporary-file-directory "snake-scores") | 85 ;; It is not safe to put this in /tmp. |
86 ;; Someone could make a symlink in /tmp | |
87 ;; pointing to a file you don't want to clobber. | |
88 (defvar snake-score-file "~/.snake-scores") | |
86 "File for holding high scores.") | 89 "File for holding high scores.") |
87 | 90 |
88 ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 91 ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
89 | 92 |
90 (defvar snake-blank-options | 93 (defvar snake-blank-options |