diff options
| author | Richard M. Stallman | 1995-06-17 19:12:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-17 19:12:53 +0000 |
| commit | 01a2b480182e265c825e8e5defc338837389cbc8 (patch) | |
| tree | 6bb39a296652eeb9b793082295567e48af6f3643 /lisp | |
| parent | eff87c2c1ddadddd7b177d91a59be6a218b8bf37 (diff) | |
| download | emacs-01a2b480182e265c825e8e5defc338837389cbc8.tar.gz emacs-01a2b480182e265c825e8e5defc338837389cbc8.zip | |
(Info-directory-list): If path-separator isn't available, bind it here.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/info.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el index b382a380490..46c53a86ed8 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -55,6 +55,10 @@ in paths.el.") | |||
| 55 | 55 | ||
| 56 | (defvar Info-directory-list | 56 | (defvar Info-directory-list |
| 57 | (let ((path (getenv "INFOPATH")) | 57 | (let ((path (getenv "INFOPATH")) |
| 58 | ;; This is for older Emacs versions | ||
| 59 | ;; which might get this info.el from the Texinfo distribution. | ||
| 60 | (path-separator (if (boundp 'path-separator) path-separator | ||
| 61 | (if (eq system-type 'ms-dos) ";" ":"))) | ||
| 58 | (sibling (if installation-directory | 62 | (sibling (if installation-directory |
| 59 | (expand-file-name "info/" installation-directory)))) | 63 | (expand-file-name "info/" installation-directory)))) |
| 60 | (if path | 64 | (if path |