Commit 0445150c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(info-lookup): Use assoc-string.

parent 7f18ce22
......@@ -321,7 +321,7 @@ If optional argument QUERY is non-nil, query for the help mode."
(let* ((completions (info-lookup->completions topic mode))
(ignore-case (info-lookup->ignore-case topic mode))
(entry (or (assoc (if ignore-case (downcase item) item) completions)
(assoc-ignore-case item completions)
(assoc-string item completions t)
(error "Not documented as a %s: %s" topic (or item ""))))
(modes (info-lookup->all-modes topic mode))
(window (selected-window))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment