diff options
| author | Juanma Barranquero | 2002-07-22 20:05:37 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-07-22 20:05:37 +0000 |
| commit | 40b49d4bc066b991e1879f37da973dd1952da5f6 (patch) | |
| tree | fac4f19acb7aff9ed60412c01e8dd1db5327e8c6 /src/callproc.c | |
| parent | fb505dabe7ab1019b7a675bf8598922478c0bb4e (diff) | |
| download | emacs-40b49d4bc066b991e1879f37da973dd1952da5f6.tar.gz emacs-40b49d4bc066b991e1879f37da973dd1952da5f6.zip | |
(init_callproc) [DOS_NT]: Initialize Vshared_game_score_directory to nil.
(syms_of_callproc) [DOS_NT]: Likewise.
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 () | |||
| 1581 | Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX"); | 1581 | Vtemp_file_name_pattern = build_string ("/tmp/emacsXXXXXX"); |
| 1582 | #endif | 1582 | #endif |
| 1583 | 1583 | ||
| 1584 | #ifdef DOS_NT | ||
| 1585 | Vshared_game_score_directory = Qnil; | ||
| 1586 | #else | ||
| 1584 | Vshared_game_score_directory = build_string (PATH_GAME); | 1587 | Vshared_game_score_directory = build_string (PATH_GAME); |
| 1585 | if (NILP (Ffile_directory_p (Vshared_game_score_directory))) | 1588 | if (NILP (Ffile_directory_p (Vshared_game_score_directory))) |
| 1586 | Vshared_game_score_directory = Qnil; | 1589 | Vshared_game_score_directory = Qnil; |
| 1590 | #endif | ||
| 1587 | } | 1591 | } |
| 1588 | 1592 | ||
| 1589 | void | 1593 | void |
| @@ -1644,7 +1648,11 @@ includes this. */); | |||
| 1644 | DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory, | 1648 | DEFVAR_LISP ("shared-game-score-directory", &Vshared_game_score_directory, |
| 1645 | doc: /* Directory of score files for games which come with GNU Emacs. | 1649 | doc: /* Directory of score files for games which come with GNU Emacs. |
| 1646 | If this variable is nil, then Emacs is unable to use a shared directory. */); | 1650 | If this variable is nil, then Emacs is unable to use a shared directory. */); |
| 1651 | #ifdef DOS_NT | ||
| 1652 | Vshared_game_score_directory = Qnil; | ||
| 1653 | #else | ||
| 1647 | Vshared_game_score_directory = build_string (PATH_GAME); | 1654 | Vshared_game_score_directory = build_string (PATH_GAME); |
| 1655 | #endif | ||
| 1648 | 1656 | ||
| 1649 | DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern, | 1657 | DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern, |
| 1650 | doc: /* Pattern for making names for temporary files. | 1658 | doc: /* Pattern for making names for temporary files. |