1ffb42448e
Total load time for 90+ packages without byte-compiling: 3s... amazing ! Thanks to \@jwiegley :-)
19 lines
524 B
EmacsLisp
19 lines
524 B
EmacsLisp
(defvar syl:pre-extensions
|
|
'(
|
|
use-package
|
|
revive
|
|
window-numbering
|
|
))
|
|
|
|
;; load extensions
|
|
(dolist (ext syl:pre-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:pre-extensions)
|
|
(let* ((initfile (concat syl:extension-init-dir (format "init-%s.el" ext))))
|
|
(if (file-exists-p initfile)
|
|
(load initfile))))
|
|
|
|
(provide 'pre-extensions)
|