From: Richard M. Stallman Date: Tue, 7 Jun 1994 15:29:45 +0000 (+0000) Subject: (init_callproc) [MSDOS]: Exclude less code, so ../etc X-Git-Tag: emacs-19.34~8029 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a6640ec24b0d05a242b264b57e004e5fb4961ae;p=emacs.git (init_callproc) [MSDOS]: Exclude less code, so ../etc is still tested for doc file. --- diff --git a/src/callproc.c b/src/callproc.c index d1cf0a1e4fc..14e34454f71 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -847,7 +847,6 @@ init_callproc () register char * sh; Lisp_Object tempdir; -#ifndef MSDOS if (initialized && !NILP (Vinstallation_directory)) { /* Add to the path the lib-src subdir of the installation dir. */ @@ -856,8 +855,11 @@ init_callproc () Vinstallation_directory); if (NILP (Fmember (tem, Vexec_path))) { +#ifndef MSDOS + /* MSDOS uses wrapped binaries, so don't do this. */ Vexec_path = nconc2 (Vexec_path, Fcons (tem, Qnil)); Vexec_directory = Ffile_name_as_directory (tem); +#endif /* If we use ../lib-src, maybe use ../etc as well. Do so if ../etc exists and has our DOC-... file in it. */ @@ -893,7 +895,6 @@ init_callproc () Vdata_directory = newdir; } } -#endif tempdir = Fdirectory_file_name (Vexec_directory); if (access (XSTRING (tempdir)->data, 0) < 0)