From 40b49d4bc066b991e1879f37da973dd1952da5f6 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 22 Jul 2002 20:05:37 +0000 Subject: [PATCH] (init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil. (syms_of_callproc) [DOS_NT]: Likewise. --- src/callproc.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.39.2