Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setq-local dash-docs-docsets does not work #191

Open
contrun opened this issue Oct 4, 2019 · 1 comment
Open

setq-local dash-docs-docsets does not work #191

contrun opened this issue Oct 4, 2019 · 1 comment

Comments

@contrun
Copy link

contrun commented Oct 4, 2019

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.

@dfeich
Copy link

dfeich commented Mar 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants