From cecfbf076e4862555409cb9caa3db832316c16b4 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 21 Apr 2021 18:19:46 +0200 Subject: [PATCH] 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 . --- lisp/info.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 5efac6f25f1..82f0eb37ae9 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) -- 2.39.5