-
Notifications
You must be signed in to change notification settings - Fork 456
Home
jd edited this page May 28, 2011
·
12 revisions
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;
- Major modes for files can be added to
auto-mode-alist
for commonly-used unambigous file patterns. But in general this should be discouraged; try to get it fixed upstream instead; -
: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.