help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very basic questions.


From: Colin S. Miller
Subject: Re: Very basic questions.
Date: Sat, 16 Sep 2006 12:28:08 +0100
User-agent: Thunderbird 1.5.0.5 (X11/20060812)


In runtime, how does "require" know where the feature list is? There is only machine code then.

John,

(require 'feature)
searches the paths listed in 'load-path',
this can be added to using (add-path).
It looks for a file called "feature.el" or "feature.elc".


Emacs packages can either be in source-code,
which have an extension '.el', or be pre-compiled,
where they have the extension '.elc'.

Pre-compiled packages run faster than packages dynamically
compiled from source.

The pre-compiled emacs tends to come with its packages pre-compiled
as well, there will be sources for the packages where you got
emacs from.

HTH,
Coin S. Miller

--
Replace the obvious in my email address with the first three letters of the 
hostname to reply.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]