diff options
author | Richard M. Stallman <rms@gnu.org> | 2000-04-18 21:27:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2000-04-18 21:27:18 +0000 |
commit | 5557b83bc8ba13093b1a27956308f1523eb96392 (patch) | |
tree | 00c922d35c3711315973412d5950167eadd2f049 /lispref/os.texi | |
parent | f6d3257b91cfc32407e2cfba6bfb9c9e37f9254d (diff) | |
download | emacs-5557b83bc8ba13093b1a27956308f1523eb96392.tar.gz |
*** empty log message ***
Diffstat (limited to 'lispref/os.texi')
-rw-r--r-- | lispref/os.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lispref/os.texi b/lispref/os.texi index 2086849e19a..8116aa806be 100644 --- a/lispref/os.texi +++ b/lispref/os.texi @@ -747,6 +747,20 @@ value is @code{":"} for Unix and GNU systems, and @code{";"} for MS-DOS and MS-Windows. @end defvar +@defun parse-colon-path path +@tindex parse-colon-path +This function takes a search path string such as would be the value of +the @code{PATH} environment variable, and splits it at the separators, +returning a list of directory names. @code{nil} in this list stands for +``use the current directory.'' Although the function's name says +``colon,'' it actually uses the value of @code{path-separator}. + +@example +(parse-colon-path ":/foo:/bar") + @result{} (nil "/foo/" "/bar/") +@end example +@end defun + @defvar invocation-name This variable holds the program name under which Emacs was invoked. The value is a string, and does not include a directory name. |