Use use-package to configure slack

This commit is contained in:
Tom Willemse 2016-05-09 23:19:36 +02:00
parent c721929078
commit 8ae958f2f6

View file

@ -409,9 +409,6 @@ MODE1 is enabled and vice-versa."
(setq read-mail-command 'gnus) (setq read-mail-command 'gnus)
(define-key special-mode-map "z" #'kill-this-buffer)) (define-key special-mode-map "z" #'kill-this-buffer))
(stante-after slack
(setq slack-ws-reconnect-auto t))
(with-eval-after-load 'slime (with-eval-after-load 'slime
(setq slime-lisp-implementations (setq slime-lisp-implementations
'((sbcl ("sbcl" "--noinform") :coding-system utf-8-unix) '((sbcl ("sbcl" "--noinform") :coding-system utf-8-unix)
@ -488,6 +485,13 @@ MODE1 is enabled and vice-versa."
(add-hook 'js2-mode-hook 'electric-indent-local-mode) (add-hook 'js2-mode-hook 'electric-indent-local-mode)
(add-hook 'js2-mode-hook 'flycheck-mode)) (add-hook 'js2-mode-hook 'flycheck-mode))
(use-package slack
:ensure t
:defer t
:load-path "vendor-lisp/emacs-slack"
:config
(setq slack-ws-reconnect-auto t))
;;;; Hooks ;;;; Hooks
(add-hook 'eshell-first-time-mode-hook 'oni-eshell-set-prompt) (add-hook 'eshell-first-time-mode-hook 'oni-eshell-set-prompt)