aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/info.el14
2 files changed, 19 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bcff096af9d..7a7547eb8d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12001-02-02 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * info.el (info-initialize): If installation-directory is nil, for
4 DOS/Windows systems try looking in a sibling of
5 invocation-directory.
6
12001-02-02 Gerd Moellmann <gerd@gnu.org> 72001-02-02 Gerd Moellmann <gerd@gnu.org>
2 8
3 * wid-edit.el (widget-button-click): Fix last change. 9 * wid-edit.el (widget-button-click): Fix last change.
diff --git a/lisp/info.el b/lisp/info.el
index dc9a7b7dea9..1add6ed522f 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -311,7 +311,19 @@ Do the right thing if the file has been compressed or zipped."
311 (let ((path (getenv "INFOPATH")) 311 (let ((path (getenv "INFOPATH"))
312 (source (expand-file-name "info/" source-directory)) 312 (source (expand-file-name "info/" source-directory))
313 (sibling (if installation-directory 313 (sibling (if installation-directory
314 (expand-file-name "info/" installation-directory))) 314 (expand-file-name "info/" installation-directory)
315 (if (and (memq system-type '(ms-dos windows-nt))
316 invocation-directory)
317 (let ((infodir (expand-file-name
318 "../info/"
319 invocation-directory)))
320 (if (file-exists-p infodir)
321 infodir
322 (setq infodir (expand-file-name
323 "../../../info/"
324 invocation-directory))
325 (and (file-exists-p infodir)
326 infodir))))))
315 alternative) 327 alternative)
316 (setq Info-directory-list 328 (setq Info-directory-list
317 (prune-directory-list 329 (prune-directory-list