]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve error message for missing Info manual
authorStefan Kangas <stefan@marxist.se>
Wed, 21 Apr 2021 16:19:46 +0000 (18:19 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 21 Apr 2021 16:20:00 +0000 (18:20 +0200)
* lisp/info.el (Info-find-file): Improve error message for missing
Info manual.  (Bug#46236)
Fix suggested by Eli Zaretskii <eliz@gnu.org>.

lisp/info.el

index 5efac6f25f12386d11dc5169ac01892ab4a68eb4..82f0eb37ae9228e3aba3c650e5084adaca693b64 100644 (file)
@@ -916,7 +916,8 @@ find a node."
          (when (and (not no-pop-to-dir)
                      (not Info-current-file))
            (Info-directory))
-         (user-error "Info file %s does not exist" filename)))
+          (user-error "Info file `%s' does not exist; consider installing it"
+                      filename)))
       filename))))
 
 (defun Info-find-node (filename nodename &optional no-going-back strict-case)