helm-dash icon indicating copy to clipboard operation
helm-dash copied to clipboard

setq-local dash-docs-docsets does not work

Open contrun opened this issue 4 years ago • 1 comments

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.

contrun avatar Oct 04 '19 10:10 contrun

The variable is now called dash-docs-docsets. Seemingly the package has been split into a helm-specific and a non-specific core part.

dfeich avatar Mar 07 '21 16:03 dfeich