helm-dash
helm-dash copied to clipboard
setq-local dash-docs-docsets does not work
I tried the following elisp configuration for helm-dash. It does not seem to work.
(use-package helm-dash
:hook
(haskell-mode . (lambda () (setq-local helm-dash-docsets '("Haskell"))))
(rust-mode . (lambda () (setq-local helm-dash-docsets '("Rust"))))
(scala-mode . (lambda () (setq-local helm-dash-docsets '("Scala"))))
(python-mode . (lambda () (setq-local helm-dash-docsets '("Python_3"))))
(emacs-lisp-mode . (lambda () (setq-local helm-dash-docsets '("Emacs_lisp"))))
(ruby-mode . (lambda () (setq-local helm-dash-docsets '("Ruby"))))
)
I can confirm helm-dash-docsets
is set by C-h v
, which told me
helm-dash-docsets’s value is ("Rust")
Local in buffer lib.rs; globally void
Still, helm-dash-at-point
did not work. It did work when I activate the docsets with helm-dash-activate-docset
.
The variable is now called dash-docs-docsets
. Seemingly the package has been split into a helm-specific and a non-specific core part.