changeset 7928:e8eb27a1d94e

(Info-directory-list): For msdos, use ";" instead of ":" as delimiter in INFOPATH.
author Richard M. Stallman <rms@gnu.org>
date Thu, 16 Jun 1994 15:44:16 +0000
parents e02087efad68
children c43f3a203133
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Thu Jun 16 15:38:30 1994 +0000
+++ b/lisp/info.el	Thu Jun 16 15:44:16 1994 +0000
@@ -52,12 +52,13 @@
 
 (defvar Info-directory-list
   (let ((path (getenv "INFOPATH"))
+	(sep (if (eq system-type 'ms-dos) ";" ":"))
 	(sibling (expand-file-name "../info/" (invocation-directory))))
     (if path
 	(let ((list nil)
 	      idx)
 	  (while (> (length path) 0)
-	    (setq idx (or (string-match ":" path) (length path))
+	    (setq idx (or (string-match sep path) (length path))
 		  list (cons (substring path 0 idx) list)
 		  path (substring path (min (1+ idx)
 					    (length path)))))