From: Juanma Barranquero Date: Mon, 22 Jul 2002 20:05:37 +0000 (+0000) Subject: (init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil. X-Git-Tag: ttn-vms-21-2-B4~13911 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40b49d4bc066b991e1879f37da973dd1952da5f6;p=emacs.git (init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil. (syms_of_callproc) [DOS_NT]: Likewise. --- diff --git a/src/callproc.c b/src/callproc.c index 4e44b974804..5476be06537 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1581,9 +1581,13 @@ init_callproc () 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 @@ includes this. */); 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.