aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 9b1e04ada82..4e44b974804 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1580,6 +1580,10 @@ init_callproc ()
1580 else 1580 else
1581 Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX"); 1581 Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX");
1582#endif 1582#endif
1583
1584 Vshared_game_score_directory = build_string (PATH_GAME);
1585 if (NILP (Ffile_directory_p (Vshared_game_score_directory)))
1586 Vshared_game_score_directory = Qnil;
1583} 1587}
1584 1588
1585void 1589void
@@ -1640,11 +1644,7 @@ includes this. */);
1640 DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory, 1644 DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory,
1641 doc: /* Directory of score files for games which come with GNU Emacs. 1645 doc: /* Directory of score files for games which come with GNU Emacs.
1642If this variable is nil, then Emacs is unable to use a shared directory. */); 1646If this variable is nil, then Emacs is unable to use a shared directory. */);
1643#ifdef HAVE_SHARED_GAME_DIR 1647 Vshared_game_score_directory = build_string (PATH_GAME);
1644 Vshared_game_score_directory = build_string(HAVE_SHARED_GAME_DIR);
1645#else
1646 Vshared_game_score_directory = Qnil;
1647#endif
1648 1648
1649 DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern, 1649 DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern,
1650 doc: /* Pattern for making names for temporary files. 1650 doc: /* Pattern for making names for temporary files.