Commits

unwelcome-guest  committed cecd97a

Fix issue703.

Move score file to user-init-directory.

  • Participants
  • Parent commits cd0455c

Comments (0)

Files changed (2)

+2010-04-18  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* snake.el (snake-score-file): Default to user-init-directory.
+
 2010-04-13  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.19 released.
 (defvar snake-score-y snake-height
   "Y position of score")
 
-(defvar snake-score-file "/tmp/snake-scores"
+(defvar snake-score-file (expand-file-name "snake-scores" user-init-directory))
   "File for holding high scores")
 
 ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;