# HG changeset patch # User Karl Heuer # Date 801534985 0 # Node ID 0b8b8be6a3fd94509970ed2b3b2e33a91f38a76f # Parent df51559ee7f9e8183d3a6802f088e8af49dd04e3 (Info-directory-list): Use path-separator. diff -r df51559ee7f9 -r 0b8b8be6a3fd lisp/info.el --- a/lisp/info.el Sat May 27 00:36:04 1995 +0000 +++ b/lisp/info.el Sat May 27 00:36:25 1995 +0000 @@ -55,16 +55,13 @@ (defvar Info-directory-list (let ((path (getenv "INFOPATH")) - (sep (if (or (eq system-type 'ms-dos) - (eq system-type 'windows-nt)) - ";" ":")) (sibling (if installation-directory (expand-file-name "info/" installation-directory)))) (if path (let ((list nil) idx) (while (> (length path) 0) - (setq idx (or (string-match sep path) (length path)) + (setq idx (or (string-match path-separator path) (length path)) list (cons (substring path 0 idx) list) path (substring path (min (1+ idx) (length path)))))