From 0fbfca7a15969f02e05fbbc8bb025d7115858845 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 31 May 2024 13:53:17 +0200 Subject: [PATCH] Fix 'info-finder' with prefix argument --- lisp/info.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/info.el b/lisp/info.el index 93c63e1bf2b..10ec4528a7f 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3962,7 +3962,7 @@ Display a menu of the possible matches." ;; But package.el makes the same assumption. ;; I think nxml is the only exception - maybe it should be just be renamed. (insert (or (ignore-errors (lm-commentary (find-library-name nodename))) - (insert "Can’t find package description.\n\n")))))) + "Can’t find package description.\n\n"))))) ;;;###autoload (defun info-finder (&optional keywords) @@ -3981,7 +3981,7 @@ with a list of packages that contain all specified keywords." nil t)))) (require 'finder) (if keywords - (Info-find-node Info-finder-file (mapconcat 'identity keywords ", ")) + (Info-find-node Info-finder-file (concat "Keyword " (mapconcat 'identity keywords ", "))) (Info-find-node Info-finder-file "Top"))) -- 2.39.2