emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/callproc.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/callproc.c
Date: Sun, 21 Jul 2002 16:29:02 -0400

Index: emacs/src/callproc.c
diff -c emacs/src/callproc.c:1.192 emacs/src/callproc.c:1.193
*** emacs/src/callproc.c:1.192  Fri Jul 19 10:26:49 2002
--- emacs/src/callproc.c        Sun Jul 21 16:29:02 2002
***************
*** 1580,1585 ****
--- 1580,1589 ----
    else
      Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX");
  #endif
+ 
+   Vshared_game_score_directory = build_string (PATH_GAME);
+   if (NILP (Ffile_directory_p (Vshared_game_score_directory)))
+     Vshared_game_score_directory = Qnil;
  }
  
  void
***************
*** 1640,1650 ****
    DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory,
               doc: /* Directory of score files for games which come with GNU 
Emacs.
  If this variable is nil, then Emacs is unable to use a shared directory.  */);
! #ifdef HAVE_SHARED_GAME_DIR
!   Vshared_game_score_directory = build_string(HAVE_SHARED_GAME_DIR);
! #else
!   Vshared_game_score_directory = Qnil;
! #endif
  
    DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern,
               doc: /* Pattern for making names for temporary files.
--- 1644,1650 ----
    DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory,
               doc: /* Directory of score files for games which come with GNU 
Emacs.
  If this variable is nil, then Emacs is unable to use a shared directory.  */);
!   Vshared_game_score_directory = build_string (PATH_GAME);
  
    DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern,
               doc: /* Pattern for making names for temporary files.



reply via email to

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