Commit 718b4478 authored by Richard M. Stallman's avatar Richard M. Stallman

(Info-directory-list): For msdos, don't check for

exec-directory != ../lib-src (since we use wrapped binaries).
parent 8d45a19e
......@@ -65,10 +65,15 @@ in paths.el.")
(nreverse list))
(if (or (member sibling Info-default-directory-list)
(not (file-exists-p sibling))
;; Use invocation-directory for Info only if we used it for
;; exec-directory also.
(not (string= exec-directory
(expand-file-name "../lib-src/" (invocation-directory)))))
;; On MS-DOS, we use movable executables always,
;; and we must always find the Info dir at run time.
(if (eq system-type 'ms-dos)
nil
;; Use invocation-directory for Info only if we used it for
;; exec-directory also.
(not (string= exec-directory
(expand-file-name "../lib-src/"
(invocation-directory))))))
Info-default-directory-list
(reverse (cons sibling (cdr (reverse Info-default-directory-list)))))))
"List of directories to search for Info documentation files.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment