]> git.eshelyaron.com Git - emacs.git/commitdiff
Honor 'Info-additional-directory-list' in 'C-h R' completion
authorEshel Yaron <me@eshelyaron.com>
Sat, 15 Jun 2024 16:48:34 +0000 (18:48 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Jun 2024 17:33:27 +0000 (19:33 +0200)
* lisp/info.el (info--manual-names): Take into account
'Info-additional-directory-list', in addition to
'Info-directory-list'.  (Bug#71368)

(cherry picked from commit 83182b2c4a4e039884ee54ddce6e657f4fb888eb)

lisp/info.el

index 10ec4528a7fd6c9b635acdbd1b90f2dea0b94a4b..44da6d615a1418e28277253d4c7fac84bdcf8c32 100644 (file)
@@ -5675,7 +5675,9 @@ completion alternatives to currently visited manuals."
                           (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)