aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2004-06-16 23:56:46 +0000
committerJuanma Barranquero2004-06-16 23:56:46 +0000
commitc5994cfa0d814af58cc69ff55c3aeb198200b7e6 (patch)
tree3f573da9e1f128d91da962153fd2ec29facb8b43
parent0111ab41ec5239b1d7d0aed44dac798ebaa963e5 (diff)
downloademacs-c5994cfa0d814af58cc69ff55c3aeb198200b7e6.tar.gz
emacs-c5994cfa0d814af58cc69ff55c3aeb198200b7e6.zip
(parse-colon-path, cd): Mention in docstring that the path separator is
colon in GNU-like systems.
-rw-r--r--lisp/files.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 2b038c8e9c6..f96a5803b0b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -527,7 +527,8 @@ Not actually set up until the first time you use it.")
527 527
528(defun parse-colon-path (cd-path) 528(defun parse-colon-path (cd-path)
529 "Explode a search path into a list of directory names. 529 "Explode a search path into a list of directory names.
530Directories are separated by occurrences of `path-separator'." 530Directories are separated by occurrences of `path-separator'
531\(which is colon in GNU and GNU-like systems)."
531 ;; We could use split-string here. 532 ;; We could use split-string here.
532 (and cd-path 533 (and cd-path
533 (let (cd-list (cd-start 0) cd-colon) 534 (let (cd-list (cd-start 0) cd-colon)
@@ -562,7 +563,8 @@ Directories are separated by occurrences of `path-separator'."
562 "Make DIR become the current buffer's default directory. 563 "Make DIR become the current buffer's default directory.
563If your environment includes a `CDPATH' variable, try each one of 564If your environment includes a `CDPATH' variable, try each one of
564that list of directories (separated by occurrences of 565that list of directories (separated by occurrences of
565`path-separator') when resolving a relative directory name." 566`path-separator') when resolving a relative directory name.
567The path separator is colon in GNU and GNU-like systems."
566 (interactive 568 (interactive
567 (list (read-directory-name "Change default directory: " 569 (list (read-directory-name "Change default directory: "
568 default-directory default-directory 570 default-directory default-directory