diff options
| author | Colin Walters | 2002-04-10 19:15:51 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-04-10 19:15:51 +0000 |
| commit | b065672a3328f00ced98a056bd321560c520fe6e (patch) | |
| tree | 1226149ee05d29f3ad27f002ea965f554657cceb /src | |
| parent | 76f1b321581abc6c5ede842129e3ccf7cdab185d (diff) | |
| download | emacs-b065672a3328f00ced98a056bd321560c520fe6e.tar.gz emacs-b065672a3328f00ced98a056bd321560c520fe6e.zip | |
(Vgame_score_directory): New variable.
(syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 56f8efb4ce7..92e6e479eaf 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -105,7 +105,7 @@ extern char **environ; | |||
| 105 | 105 | ||
| 106 | Lisp_Object Vexec_path, Vexec_directory, Vexec_suffixes; | 106 | Lisp_Object Vexec_path, Vexec_directory, Vexec_suffixes; |
| 107 | Lisp_Object Vdata_directory, Vdoc_directory; | 107 | Lisp_Object Vdata_directory, Vdoc_directory; |
| 108 | Lisp_Object Vconfigure_info_directory; | 108 | Lisp_Object Vconfigure_info_directory, Vgame_score_directory; |
| 109 | Lisp_Object Vtemp_file_name_pattern; | 109 | Lisp_Object Vtemp_file_name_pattern; |
| 110 | 110 | ||
| 111 | Lisp_Object Vshell_file_name; | 111 | Lisp_Object Vshell_file_name; |
| @@ -1626,6 +1626,15 @@ Emacs's info files; the default value for Info-default-directory-list | |||
| 1626 | includes this. */); | 1626 | includes this. */); |
| 1627 | Vconfigure_info_directory = build_string (PATH_INFO); | 1627 | Vconfigure_info_directory = build_string (PATH_INFO); |
| 1628 | 1628 | ||
| 1629 | DEFVAR_LISP ("game-score-directory", &Vgame_score_directory, | ||
| 1630 | doc: /* Directory of score files for games which come with GNU Emacs. | ||
| 1631 | If this variable is nil, then Emacs is unable to use a shared directory. */); | ||
| 1632 | #ifdef HAVE_SHARED_GAME_DIR | ||
| 1633 | Vgame_score_directory = build_string(HAVE_SHARED_GAME_DIR); | ||
| 1634 | #else | ||
| 1635 | Vgame_score_directory = Qnil; | ||
| 1636 | #endif | ||
| 1637 | |||
| 1629 | DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern, | 1638 | DEFVAR_LISP ("temp-file-name-pattern", &Vtemp_file_name_pattern, |
| 1630 | doc: /* Pattern for making names for temporary files. | 1639 | doc: /* Pattern for making names for temporary files. |
| 1631 | This is used by `call-process-region'. */); | 1640 | This is used by `call-process-region'. */); |