diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-01-05 15:14:54 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-01-05 15:14:54 +0200 |
commit | bb0c197b77e04258ebba7bb989a2357740bfa28d (patch) | |
tree | 182488a33e1c9da9955f3345a4a7ef80f7447d16 | |
parent | 82959661e5816d27c9650c61768d98b0bd248d3a (diff) | |
download | emacs-bb0c197b77e04258ebba7bb989a2357740bfa28d.tar.gz |
; Fix typo in last change.
-rw-r--r-- | lisp/info-look.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |