emacs initialization and updating emacs packages

夙愿已清 提交于 2019-12-04 19:53:50

Make sure, that package-directory-list includes your path to elpa ~/.emacs.d/elpa.

Then package.el initializes some package, it adds name of package to package-activated-list and pushes package directory (e.g. ~/.emacs.d/elpa/workgroups2-20130915.1509) to load-path automatically.

For me it works as usual, I don't add any specific pathes for packages manually. The value of package-enable-at-startup is t in my config.

package-enable-at-startup doc: "Whether to activate installed packages when Emacs starts...If the value of package-enable-at-startup is nil, you can type M-x package-initialize to activate the package system at any time."

(require 'workgroups2) is before package initialization in your config, try to move it below.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!