Respect dash-docs-browser-func

Formerly, `+lookup/in-docsets` would disregard
dash-docs-browser-func (locally setting it to the value of
`+lookup-open-url-fn`). Now only `+lookup/online` respects
+lookup-open-url-fn and `+lookup/in-docsets` respects
`dash-docs-brwoser-func`.

Closes #4795
This commit is contained in:
Henrik Lissner 2021-04-13 22:38:17 -04:00
parent 079feb26e4
commit 5ee8080ca7
2 changed files with 14 additions and 7 deletions

View file

@ -86,7 +86,6 @@ installed with `dash-docs-install-docset'."
(interactive "P")
(require 'dash-docs)
(let ((dash-docs-common-docsets)
(dash-docs-browser-func +lookup-open-url-fn)
(dash-docs-docsets
(if arg
(dash-docs-installed-docsets)