diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-10-14 20:13:47 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-10-14 20:13:47 +0000 |
commit | 33d5af991727f1be784fc9ea0c34a709ef2c3adf (patch) | |
tree | dfec47db9c32a3c28732b1968d7201e3ccf5d4dc /src/callproc.c | |
parent | 2d08a2d49a8fb46cadbb278cc12a62ce6adb3a83 (diff) | |
download | emacs-33d5af991727f1be784fc9ea0c34a709ef2c3adf.tar.gz |
(syms_of_callproc): Init Vexec_suffixes to Qnil.
(decode_suffixes): Remove.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/callproc.c b/src/callproc.c index 37b52ac5a2a..2c98933afba 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1570,28 +1570,6 @@ set_process_environment () Vprocess_environment); } -static Lisp_Object -decode_suffixes (string) - char *string; -{ - char *p; - Lisp_Object suffixes; - - suffixes = Qnil; - while (1) - { - p = index (string, ':'); - if (!p) p = string + strlen (string); - suffixes = Fcons (make_string (string, p - string), - suffixes); - if (*p) - string = p + 1; - else - break; - } - return Fnreverse (suffixes); -} - void syms_of_callproc () { @@ -1611,7 +1589,7 @@ Each element is a string (directory name) or nil (try default directory)."); DEFVAR_LISP ("exec-suffixes", &Vexec_suffixes, "*List of suffixes to try to find executable file names.\n\ Each element is a string"); - Vexec_suffixes = decode_suffixes (EXEC_SUFFIXES); + Vexec_suffixes = Qnil; DEFVAR_LISP ("exec-directory", &Vexec_directory, "Directory for executables for Emacs to invoke.\n\ |