This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/post-extensions.el
2014-07-10 00:18:20 -04:00

28 lines
672 B
EmacsLisp

(defvar syl:post-extensions
'(
auto-highlight-symbol-mode
centered-cursor
dos
edts
emoji-cheat-sheet
evil-org-mode
evil-plugins
nose
o-blog
powerline
pylookup
solarized-theme
))
;; load extensions
(dolist (ext syl:post-extensions)
(add-to-list 'load-path (format "%s%s/" user-extensions-directory ext)))
;; initialize extensions
(setq syl:extension-init-dir (concat user-emacs-directory "init-extension/"))
(dolist (ext syl:post-extensions)
(let* ((initfile (concat syl:extension-init-dir (format "init-%s.el" ext))))
(if (file-exists-p initfile)
(load initfile))))
(provide 'post-extensions)