restclient: lazy load ob-http

This commit is contained in:
syl20bnr 2016-04-03 00:35:15 -04:00
parent 8e897f6b7b
commit 9e6c2e4775

View file

@ -13,13 +13,14 @@
restclient))
(defun restclient/init-ob-http ()
(use-package ob-http
:init
(progn
(when restclient-use-org
(add-to-list 'auto-mode-alist '("\\.http\\'" . org-mode)))
(spacemacs|use-package-add-hook org
:post-config (add-to-list 'org-babel-load-languages '(http . t))))))
(spacemacs|use-package-add-hook org
:post-config
(use-package ob-http
:init
(progn
(when restclient-use-org
(add-to-list 'auto-mode-alist '("\\.http\\'" . org-mode)))
(add-to-list 'org-babel-load-languages '(http . t))))))
(defun restclient/init-restclient ()
(use-package restclient