Emacs 有关package-initialize的启动优化小技巧

From

https://www.reddit.com/r/emacs/comments/62jbjf/speeding_up_packageinitialize/dfn8sve/

大概有。。。0.1s的速度提高

(package-initialize)

改成

(package-initialize 'noactivate)
(let ((default-directory package-user-dir)) ;; change to your elpa dir
  (normal-top-level-add-subdirs-to-load-path))
1 个赞