From 538e19d1c47a34e80a343ea1fde70e1908955333 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 7 Aug 2014 19:52:31 +0100 Subject: Emacs: Use ansible dash docset for ansible-mode --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 4e9a9199..8b64dc68 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -333,7 +333,8 @@ (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)))))))) + (setq-local helm-dash-docsets (if (listp docsets) docsets (list docsets)))))) + (add-hook 'ansible-mode-hook (ap/create-helm-dash-hook "Ansible")))) (req-package which-func :init (which-function-mode) -- cgit 1.4.1