]> code.delx.au - gnu-emacs/commitdiff
(parse-colon-path, cd): Mention in docstring that the path separator is
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 16 Jun 2004 23:56:46 +0000 (23:56 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 16 Jun 2004 23:56:46 +0000 (23:56 +0000)
colon in GNU-like systems.

lisp/files.el

index 2b038c8e9c64e1f08deb27840e6733eed9f27a6a..f96a5803b0b832ddce073d8de911238d30f15515 100644 (file)
@@ -527,7 +527,8 @@ Not actually set up until the first time you use it.")
 
 (defun parse-colon-path (cd-path)
   "Explode a search path into a list of directory names.
-Directories are separated by occurrences of `path-separator'."
+Directories are separated by occurrences of `path-separator'
+\(which is colon in GNU and GNU-like systems)."
   ;; We could use split-string here.
   (and cd-path
        (let (cd-list (cd-start 0) cd-colon)
@@ -562,7 +563,8 @@ Directories are separated by occurrences of `path-separator'."
   "Make DIR become the current buffer's default directory.
 If your environment includes a `CDPATH' variable, try each one of
 that list of directories (separated by occurrences of
-`path-separator') when resolving a relative directory name."
+`path-separator') when resolving a relative directory name.
+The path separator is colon in GNU and GNU-like systems."
   (interactive
    (list (read-directory-name "Change default directory: "
                         default-directory default-directory