diff options
| author | Richard M. Stallman | 1994-06-05 11:43:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-05 11:43:26 +0000 |
| commit | 42b31bf9373533f741643eb4952b7e5ab79c4814 (patch) | |
| tree | a53d7b0af76e9b5a06b0e343baf7ca6fdda86bf9 | |
| parent | edb85f595aa12bfc4ab97d8c4e981687e42c6c74 (diff) | |
| download | emacs-42b31bf9373533f741643eb4952b7e5ab79c4814.tar.gz emacs-42b31bf9373533f741643eb4952b7e5ab79c4814.zip | |
(Info-directory-list): Don't use the invocation directory
unless it was used for exec-directory too.
| -rw-r--r-- | lisp/info.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el index 5558ee39955..b12278056a6 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -63,7 +63,11 @@ in paths.el.") | |||
| 63 | (length path))))) | 63 | (length path))))) |
| 64 | (nreverse list)) | 64 | (nreverse list)) |
| 65 | (if (or (member sibling Info-default-directory-list) | 65 | (if (or (member sibling Info-default-directory-list) |
| 66 | (not (file-exists-p sibling))) | 66 | (not (file-exists-p sibling)) |
| 67 | ;; Use invocation-directory for Info only if we used it for | ||
| 68 | ;; exec-directory also. | ||
| 69 | (not (string= exec-directory | ||
| 70 | (expand-file-name "../lib-src/" (invocation-directory))))) | ||
| 67 | Info-default-directory-list | 71 | Info-default-directory-list |
| 68 | (reverse (cons sibling (cdr (reverse Info-default-directory-list))))))) | 72 | (reverse (cons sibling (cdr (reverse Info-default-directory-list))))))) |
| 69 | "List of directories to search for Info documentation files. | 73 | "List of directories to search for Info documentation files. |