changeset 46626:4173dcd87832

(init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil. (syms_of_callproc) [DOS_NT]: Likewise.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 22 Jul 2002 20:05:37 +0000
parents fa07792dd901
children 373821cd837a
files src/callproc.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Mon Jul 22 19:12:51 2002 +0000
+++ b/src/callproc.c	Mon Jul 22 20:05:37 2002 +0000
@@ -1581,9 +1581,13 @@
     Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX");
 #endif
 
+#ifdef DOS_NT
+  Vshared_game_score_directory = Qnil;
+#else
   Vshared_game_score_directory = build_string (PATH_GAME);
   if (NILP (Ffile_directory_p (Vshared_game_score_directory)))
     Vshared_game_score_directory = Qnil;
+#endif
 }
 
 void
@@ -1644,7 +1648,11 @@
   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 DOS_NT
+  Vshared_game_score_directory = Qnil;
+#else
   Vshared_game_score_directory = build_string (PATH_GAME);
+#endif
 
   DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern,
 	       doc: /* Pattern for making names for temporary files.