summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-08-16 09:59:23 +0100
committerAlan Pearce2014-08-16 09:59:23 +0100
commit20337e48126635041453c187adfe602dca230c12 (patch)
treea8253a3ea920322af373ac2213c0c98eaa9b5473
parent29135a8f93d789dbb2b1511e3d1ea0d6c55c1744 (diff)
downloaddotfiles-20337e48126635041453c187adfe602dca230c12.tar.lz
dotfiles-20337e48126635041453c187adfe602dca230c12.tar.zst
dotfiles-20337e48126635041453c187adfe602dca230c12.zip
Emacs: Eager-load helm-dash configuration
-rw-r--r--tag-emacs/emacs.d/init.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index febe442..1877358 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -329,16 +329,16 @@
 
 (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))))))
-            (add-hook 'ansible-mode-hook (ap/create-helm-dash-hook "Ansible"))
-            (add-hook 'php-mode-hook (ap/create-helm-dash-hook '("PHP" "Symfony")))
-            (add-hook 'twig-mode-hook (ap/create-helm-dash-hook '("Twig")))
-            (add-hook 'markdown-mode-hook (ap/create-helm-dash-hook '("Markdown")))
-            (add-hook 'saltstack-mode-hook (ap/create-helm-dash-hook '("SaltStack")))))
+  :init (progn
+          (defun ap/create-helm-dash-hook (docsets)
+            (lambda ()
+              (when (require 'helm-dash nil :noerror)
+                (setq-local helm-dash-docsets docsets))))
+          (add-hook 'ansible-mode-hook (ap/create-helm-dash-hook '("Ansible")))
+          (add-hook 'php-mode-hook (ap/create-helm-dash-hook '("PHP" "Symfony")))
+          (add-hook 'twig-mode-hook (ap/create-helm-dash-hook '("Twig")))
+          (add-hook 'markdown-mode-hook (ap/create-helm-dash-hook '("Markdown")))
+          (add-hook 'saltstack-mode-hook (ap/create-helm-dash-hook '("SaltStack")))))
 
 (req-package which-func
   :init (which-function-mode)