Move nyan-mode configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 20:37:24 +02:00
parent 7a5d1f5567
commit 72b1754857

View File

@ -231,6 +231,10 @@
(setq save-place-file (expand-file-name ".places" user-emacs-directory))) (setq save-place-file (expand-file-name ".places" user-emacs-directory)))
;; Nyanyanyanyanya ;; Nyanyanyanyanya
(use-package nyan-mode
:config
(nyan-mode t))
(use-package nyan-prompt (use-package nyan-prompt
:config :config
(add-hook 'eshell-load-hook 'nyan-prompt-enable)) (add-hook 'eshell-load-hook 'nyan-prompt-enable))
@ -288,8 +292,6 @@
(define-key company-active-map (kbd "C-:") 'helm-company))) (define-key company-active-map (kbd "C-:") 'helm-company)))
; Nyanyanyanyanya ; Nyanyanyanyanya
(add-hook 'after-init-hook 'nyan-mode)
(setq zone-programs [zone-nyan]) (setq zone-programs [zone-nyan])
(zone-when-idle 60) (zone-when-idle 60)