emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master cecfbf0: Improve error message for missing Info manual


From: Stefan Kangas
Subject: master cecfbf0: Improve error message for missing Info manual
Date: Wed, 21 Apr 2021 12:21:28 -0400 (EDT)

branch: master
commit cecfbf076e4862555409cb9caa3db832316c16b4
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Improve error message for missing Info manual
    
    * 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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/info.el b/lisp/info.el
index 5efac6f..82f0eb3 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]