Subject: Re: bug#71368: info-display-manual command does not honor Info-additional-directory-list

From: Eshel Yaron <[email-masked]>
Date: Wed, 05 Jun 2024 07:25:53 +0200

Hello Charles,

Charles Choi <[email-masked]> writes:

> **** Expected Result
> Manuals in Info-additional-directory-list should be displayed in the completion list.
>
> **** Actual Result
> The manuals in Info-additional-directory-list are not displayed in the completion list.

Thanks, does the following change yield the expected result?

diff --git a/lisp/info.el b/lisp/info.el
index 10ec4528a7f..44da6d615a1 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -5675,7 +5675,9 @@ info--manual-names
 			   (all-completions
 			    ""
 			    (apply-partially #'Info-read-node-name-2
-					     Info-directory-list
+					     (append
+                                              Info-directory-list
+                                              Info-additional-directory-list)
 					     (mapcar #'car Info-suffix-list))))))))
 
 (provide 'info)