changeset 56024:077548161fac

(parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon).
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 11 Jun 2004 01:02:51 +0000
parents 7e63582e48f6
children 3535751dda09
files lisp/files.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Fri Jun 11 00:47:11 2004 +0000
+++ b/lisp/files.el	Fri Jun 11 01:02:51 2004 +0000
@@ -526,8 +526,8 @@
 Not actually set up until the first time you use it.")
 
 (defun parse-colon-path (cd-path)
-  "Explode a colon-separated search path into a list of directory names.
-\(For values of `colon' equal to `path-separator'.)"
+  "Explode a search path into a list of directory names.
+Directories are separated by occurrences of `path-separator'."
   ;; We could use split-string here.
   (and cd-path
        (let (cd-list (cd-start 0) cd-colon)
@@ -560,8 +560,9 @@
 
 (defun cd (dir)
   "Make DIR become the current buffer's default directory.
-If your environment includes a `CDPATH' variable, try each one of that
-colon-separated list of directories when resolving a relative directory name."
+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."
   (interactive
    (list (read-directory-name "Change default directory: "
 			 default-directory default-directory