# HG changeset patch # User Richard M. Stallman # Date 1015164794 0 # Node ID 93a9551db08090b2ec05fb97c49a78907f33e8dd # Parent 662351ad5213617fe29b93e59c146d9229e2a7c8 (snake-score-file): Put in home dir, not in /tmp. diff -r 662351ad5213 -r 93a9551db080 lisp/play/snake.el --- a/lisp/play/snake.el Sun Mar 03 13:08:14 2002 +0000 +++ b/lisp/play/snake.el Sun Mar 03 14:13:14 2002 +0000 @@ -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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;