Commit c5994cfa authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(parse-colon-path, cd): Mention in docstring that the path separator is

colon in GNU-like systems.
parent 0111ab41
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment