diff options
author | Jesús <heckyel@hyperbola.info> | 2019-05-06 22:56:05 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-05-06 22:56:05 -0500 |
commit | fbde1349df8d52caf7767e9e309fa69189e0e34c (patch) | |
tree | cad1b023ad9d5f0a4ed6e15fcc63e6723e173093 | |
parent | 6f8307e501210be8d9e92243cf57d7cb575e11fd (diff) | |
download | emacs-personal-fbde1349df8d52caf7767e9e309fa69189e0e34c.tar.lz emacs-personal-fbde1349df8d52caf7767e9e309fa69189e0e34c.tar.xz emacs-personal-fbde1349df8d52caf7767e9e309fa69189e0e34c.zip |
update performance
-rw-r--r-- | init.el | 91 |
1 files changed, 47 insertions, 44 deletions
@@ -28,50 +28,53 @@ ;;; Features ;;;------------------------------ ;;; https://stackoverflow.com/questions/2816019/in-lisp-avoid-cannot-open-load-file-when-using-require -(require 'init-security nil 'noerror) -(require 'init-elpa nil 'noerror) -;; theme -(require 'init-theme nil 'noerror) -;; Utils -(require 'init-utils nil 'noerror) -;; GUI -(require 'init-nlinum nil 'noerror) -(require 'init-gui nil 'noerror) -(require 'init-editing-utils nil 'noerror) -(require 'init-diminish nil 'noerror) -(require 'init-ecb nil 'noerror) -(require 'init-modeline nil 'noerror) -(require 'init-indent-guides nil 'noerror) -(require 'init-icons nil 'noerror) -(require 'init-neotree nil 'noerror) -;; Tools -(require 'init-apache nil 'noerror) -(require 'init-company nil 'noerror) -(require 'init-flycheck nil 'noerror) -(require 'init-helm nil 'noerror) -(require 'init-log4j nil 'noerror) -(require 'init-whitespace nil 'noerror) -(require 'init-emmet-mode nil 'noerror) -(require 'init-nginx nil 'noerror) -(require 'init-git nil 'noerror) -;;(require 'init-editorconfig nil 'noerror) -;; Languages -(require 'init-ccc nil 'noerror) -(require 'init-crystal nil 'noerror) -(require 'init-html nil 'noerror) -(require 'init-markdown nil 'noerror) -(require 'init-php nil 'noerror) -(require 'init-python nil 'noerror) -(require 'init-pkgbuild nil 'noerror) -(require 'init-less nil 'noerror) -(require 'init-sass nil 'noerror) -(require 'init-scss nil 'noerror) -(require 'init-yaml nil 'noerror) -;; Plus -(require 'init-rainbow nil 'noerror) -(require 'init-web-mode nil 'noerror) -(require 'init-ready nil 'noerror) -(require 'init-dokuwiki nil 'noerror) +(let* ((file-name-handler-alist nil)) + ;; `package-initialize' takes 35% of startup time + ;; need check https://github.com/hlissner/doom-emacs/wiki/FAQ#how-is-dooms-startup-so-fast for solution + (require 'init-security nil 'noerror) + (require 'init-elpa nil 'noerror) + ;; theme + (require 'init-theme nil 'noerror) + ;; Utils + (require 'init-utils nil 'noerror) + ;; GUI + (require 'init-nlinum nil 'noerror) + (require 'init-gui nil 'noerror) + (require 'init-editing-utils nil 'noerror) + (require 'init-diminish nil 'noerror) + (require 'init-ecb nil 'noerror) + (require 'init-modeline nil 'noerror) + (require 'init-indent-guides nil 'noerror) + (require 'init-icons nil 'noerror) + (require 'init-neotree nil 'noerror) + ;; Tools + (require 'init-apache nil 'noerror) + (require 'init-company nil 'noerror) + (require 'init-flycheck nil 'noerror) + (require 'init-helm nil 'noerror) + (require 'init-log4j nil 'noerror) + (require 'init-whitespace nil 'noerror) + (require 'init-emmet-mode nil 'noerror) + (require 'init-nginx nil 'noerror) + (require 'init-git nil 'noerror) + ;;(require 'init-editorconfig nil 'noerror) + ;; Languages + (require 'init-ccc nil 'noerror) + (require 'init-crystal nil 'noerror) + (require 'init-html nil 'noerror) + (require 'init-markdown nil 'noerror) + (require 'init-php nil 'noerror) + (require 'init-python nil 'noerror) + (require 'init-pkgbuild nil 'noerror) + (require 'init-less nil 'noerror) + (require 'init-sass nil 'noerror) + (require 'init-scss nil 'noerror) + (require 'init-yaml nil 'noerror) + ;; Plus + (require 'init-rainbow nil 'noerror) + (require 'init-web-mode nil 'noerror) + (require 'init-ready nil 'noerror) + (require 'init-dokuwiki nil 'noerror)) ;;; Loads custom file (when (file-exists-p custom-file) |