From: Eli Zaretskii Date: Wed, 5 Jan 2022 13:14:54 +0000 (+0200) Subject: ; Fix typo in last change. X-Git-Tag: emacs-29.0.90~3242 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb0c197b77e04258ebba7bb989a2357740bfa28d;p=emacs.git ; Fix typo in last change. --- 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)))