all repos — archive/dotfiles @ 9d426dc2384cbc622b458bc4bb343db9247298ef

Superseded by nixfiles

Emacs: Install jquery-doc
Alan Pearce alan@alanpearce.co.uk
Sat, 30 Aug 2014 12:28:01 +0100
commit

9d426dc2384cbc622b458bc4bb343db9247298ef

parent

75ff4072d69f2a331d065d0f15770b8632cc42db

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -44,6 +44,7 @@ (depends-on "helm-swoop") (depends-on "help-fns+")
 (depends-on "hemisu-theme")
 (depends-on "jinja2-mode")
+(depends-on "jquery-doc")
 (depends-on "js2-mode")
 (depends-on "leuven-theme")
 (depends-on "litable")
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1246,6 +1246,11 @@ (add-hook 'js2-mode-hook #'ap/javascript-setup)             (setq js2-basic-offset 4
                   js2-global-externs '("$"))))
 
+(req-package jquery-doc
+  :defer t
+  :init (progn
+          (add-hook 'js2-mode-hook #'jquery-doc-setup)))
+
 (req-package scss-mode
   :defer t
   :config (progn