Skip to content

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

@contrun

Description

@contrun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions