2013-04-11 14:51:17 +00:00
|
|
|
(defvar syl:pre-extensions
|
2012-12-27 20:50:48 +00:00
|
|
|
'(
|
2013-11-19 05:09:13 +00:00
|
|
|
use-package
|
2014-01-07 05:47:58 +00:00
|
|
|
; revive
|
2013-05-06 15:44:30 +00:00
|
|
|
window-numbering
|
2012-12-27 20:50:48 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
;; load extensions
|
2013-04-11 14:51:17 +00:00
|
|
|
(dolist (ext syl:pre-extensions)
|
2012-12-29 03:01:13 +00:00
|
|
|
(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/"))
|
2013-04-11 14:51:17 +00:00
|
|
|
(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)
|
2013-11-20 05:30:23 +00:00
|
|
|
(load initfile))))
|
2012-12-27 20:50:48 +00:00
|
|
|
|
2013-04-11 14:51:17 +00:00
|
|
|
(provide 'pre-extensions)
|