diff options
Diffstat (limited to 'lisp/info.el')
| -rw-r--r-- | lisp/info.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el index 29daac566d1..cbdc8cc7ab3 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -464,6 +464,7 @@ be last in the list.") | |||
| 464 | "Insert the contents of an Info file in the current buffer. | 464 | "Insert the contents of an Info file in the current buffer. |
| 465 | Do the right thing if the file has been compressed or zipped." | 465 | Do the right thing if the file has been compressed or zipped." |
| 466 | (let* ((tail Info-suffix-list) | 466 | (let* ((tail Info-suffix-list) |
| 467 | (jka-compr-verbose nil) | ||
| 467 | (lfn (if (fboundp 'msdos-long-file-names) | 468 | (lfn (if (fboundp 'msdos-long-file-names) |
| 468 | (msdos-long-file-names) | 469 | (msdos-long-file-names) |
| 469 | t)) | 470 | t)) |
| @@ -728,6 +729,11 @@ just return nil (no error)." | |||
| 728 | (append Info-directory-list | 729 | (append Info-directory-list |
| 729 | Info-additional-directory-list) | 730 | Info-additional-directory-list) |
| 730 | Info-directory-list))))) | 731 | Info-directory-list))))) |
| 732 | ;; Fall back on the installation directory if we can't find | ||
| 733 | ;; the info node anywhere else. | ||
| 734 | (when installation-directory | ||
| 735 | (setq dirs (append dirs (list (expand-file-name | ||
| 736 | "info" installation-directory))))) | ||
| 731 | ;; Search the directory list for file FILENAME. | 737 | ;; Search the directory list for file FILENAME. |
| 732 | (while (and dirs (not found)) | 738 | (while (and dirs (not found)) |
| 733 | (setq temp (expand-file-name filename (car dirs))) | 739 | (setq temp (expand-file-name filename (car dirs))) |