-
Notifications
You must be signed in to change notification settings - Fork 451
Home
Welcome to the el-get wiki!
The mailing list archive is at gmane.emacs.el-get.devel. You can subscribe by sending an email to el-get-devel-subscribe@tapoueh.org.
An el-get recipe should make code available on the local machine as though it were packaged with emacs. This means: don't turn on global-minor-modes, but it's OK to make sure that major modes for files are added to auto-mode-alist. :feature and :load should be discouraged, and only used if there's no way to make an autoload work, or if the package provides its own autoload file (e.g. nognus' gnus-load.el). In such cases, prefer :feature to :load, as the former will pick up the compiled version of the file, if any.
If the upstream package doesn't mark its primary functions with a autoload cookies or provide its own autoload file, it's acceptable to add a :pre-init or :post-init that calls (autoload ...) "manually". But in general this should be discouraged; try to get it fixed upstream instead. The same goes for adding modes to auto-mode-alist -- the mode should do this itself for commonly-used unambiguous file patterns, but if it doesn't, you can add it to the recipe.