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

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

;;;###autoload declarations


From: uzibalqa
Subject: ;;;###autoload declarations
Date: Fri, 23 Jun 2023 11:09:55 +0000

Have been looking at the ;;;###autoload declaration.  Reading through the 
manual,
the cookie just before the real definition of a function, indicates that a 
specific
function exists.  Without such declaration, the function call would generate an 
error
because the required function has not been properly included in the code before 
attempting to call the function.  This is done so that emacs would not consume 
system
resources and slow down.

Yet, one still needs a call to "require" which loads the file and all its 
deffun's and
defvar's even without any use of the ;;;###autoload declaration.

It then seems to me that although autoloading is intended as described, 
technically 
it is untrue, because everything seems to be evaluated all in one go.

What is going on ?











reply via email to

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