summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2c619ca..e00506f 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -327,6 +327,14 @@
 
 ;;;; Documentation
 
+(req-package helm-dash
+  :defer t
+  :config (progn
+            (defun ap/create-helm-dash-hook (docsets)
+              (lambda ()
+                (when (require 'helm-dash nil :noerror)
+                  (setq-local helm-dash-docsets (if (listp docsets) docsets (list docsets))))))))
+
 (req-package which-func
   :init (which-function-mode)
   :config (setq which-func-modes t))