Move fiplr configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 20:36:36 +02:00
parent 1ba4312716
commit baf1c6ce34

View File

@ -233,6 +233,10 @@
(add-hook 'markdown-mode-hook (add-hook 'markdown-mode-hook
'turn-on-smartparens-strict-mode)) 'turn-on-smartparens-strict-mode))
(use-package fiplr
:config
(fiplr-clear-cache))
;; Load my own functions ;; Load my own functions
(load "gnu-c-header.el") (load "gnu-c-header.el")
(load "toggle-window-split.el") (load "toggle-window-split.el")
@ -431,7 +435,6 @@
;; Stuff to do after initialization is done ;; Stuff to do after initialization is done
;; TODO: Unordered stuff ;; TODO: Unordered stuff
(add-hook 'after-init-hook 'fiplr-clear-cache)
(add-to-list 'auto-mode-alist '("\\.vala\\'" . vala-mode)) (add-to-list 'auto-mode-alist '("\\.vala\\'" . vala-mode))
(add-to-list 'auto-mode-alist '("\\.erl\\'" . erlang-mode)) (add-to-list 'auto-mode-alist '("\\.erl\\'" . erlang-mode))
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))