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

20 lines
525 B
EmacsLisp
Raw Normal View History

(defvar syl:pre-extensions
2012-12-27 20:50:48 +00:00
'(
2013-11-19 05:09:13 +00:00
use-package
; revive
2013-05-06 15:44:30 +00:00
window-numbering
2012-12-27 20:50:48 +00:00
))
;; load extensions
(dolist (ext syl:pre-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/"))
(dolist (ext syl:pre-extensions)
2012-12-27 20:50:48 +00:00
(let* ((initfile (concat syl:extension-init-dir (format "init-%s.el" ext))))
(if (file-exists-p initfile)
(load initfile))))
2012-12-27 20:50:48 +00:00
(provide 'pre-extensions)