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/extensions.el

26 lines
705 B
EmacsLisp
Raw Normal View History

2012-12-27 20:50:48 +00:00
(defvar syl:extensions
'(
2013-01-06 02:34:19 +00:00
centered-cursor
2013-01-06 01:48:54 +00:00
delim-pad
emacs-eclim
evil-plugins
flymake
2013-01-03 06:53:00 +00:00
mu4e
2013-01-06 07:38:25 +00:00
;; pymacs
2012-12-27 20:50:48 +00:00
))
;; load extensions
(dolist (ext syl:extensions)
(add-to-list 'load-path (format "%s%s/" user-extensions-directory ext)))
2012-12-27 20:50:48 +00:00
;; initialize extensions
(setq syl:extension-init-dir (concat user-emacs-directory "init-extension/"))
(message (format "initializing extensions out of %s" syl:extension-init-dir))
(dolist (ext syl:extensions)
(let* ((initfile (concat syl:extension-init-dir (format "init-%s.el" ext))))
(if (file-exists-p initfile)
(progn (load initfile)
(message (format "loaded %s" initfile))))))
(provide 'extensions)