From bb0c197b77e04258ebba7bb989a2357740bfa28d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 5 Jan 2022 15:14:54 +0200 Subject: [PATCH] ; Fix typo in last change. --- lisp/info-look.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info-look.el b/lisp/info-look.el index 00c06003c29..64f16df4dc3 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -397,7 +397,7 @@ ITEM is the item whose documentation to search: file name if TOPIC is `file', a symbol if TOPIC is `symbol', etc. MODE is the `major-mode' whose Info manuals to search for documentation of ITEM; if it's nil, the function uses `info-lookup-file-name-alist' -andthe current buffer's file name to guess the mode.." +and the current buffer's file name to guess the mode.." (or mode (setq mode (info-lookup-select-mode))) (setq mode (info-lookup--item-to-mode item mode)) (if-let ((info (info-lookup->mode-value topic mode))) -- 2.39.2