emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/play/snake.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/play/snake.el
Date: Sun, 03 Mar 2002 09:13:14 -0500

Index: emacs/lisp/play/snake.el
diff -c emacs/lisp/play/snake.el:1.6 emacs/lisp/play/snake.el:1.7
*** emacs/lisp/play/snake.el:1.6        Fri Feb 22 10:19:06 2002
--- emacs/lisp/play/snake.el    Sun Mar  3 09:13:14 2002
***************
*** 82,88 ****
  (defvar snake-score-y snake-height
    "Y position of score.")
  
! (defvar snake-score-file (concat temporary-file-directory "snake-scores")
    "File for holding high scores.")
  
  ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--- 82,91 ----
  (defvar snake-score-y snake-height
    "Y position of score.")
  
! ;; 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]