Mercurial > emacs
diff src/callproc.c @ 16486:30b8c014eaa7
(init_callproc): Use dir_warning.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 31 Oct 1996 17:57:43 +0000 |
parents | 11517dc55f5b |
children | 4ed80eda6fac |
line wrap: on
line diff
--- a/src/callproc.c Thu Oct 31 13:43:37 1996 +0000 +++ b/src/callproc.c Thu Oct 31 17:57:43 1996 +0000 @@ -1083,21 +1083,13 @@ tempdir = Fdirectory_file_name (Vexec_directory); if (access (XSTRING (tempdir)->data, 0) < 0) - { - fprintf (stderr, - "Warning: arch-dependent data dir (%s) does not exist.\n", - XSTRING (Vexec_directory)->data); - sleep (2); - } + dir_warning ("Warning: arch-dependent data dir (%s) does not exist.\n", + Vexec_directory); tempdir = Fdirectory_file_name (Vdata_directory); if (access (XSTRING (tempdir)->data, 0) < 0) - { - fprintf (stderr, - "Warning: arch-independent data dir (%s) does not exist.\n", - XSTRING (Vdata_directory)->data); - sleep (2); - } + dir_warning ("Warning: arch-independent data dir (%s) does not exist.\n", + Vdata_directory); #ifdef VMS Vshell_file_name = build_string ("*dcl*");