emacs-devel
[Top][All Lists]
Advanced

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

Re: Removing unloaded functions from auto-mode-alist.


From: Lute Kamstra
Subject: Re: Removing unloaded functions from auto-mode-alist.
Date: Wed, 20 Apr 2005 00:00:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

[...]

> Won't work.  Autoloads corresponding to a different file than the
> loaded one don't get restored.  I have not found the exact place that
> causes this, but only the "right" definitions cause the autoload to be
> saved in the autoload property of the corresponding function.

When the lisp interpreter tries to call a function that is autoloaded,
it calls do_autoload (in src/eval.c) to load the actual definition and
then tries again.  do_autoload saves the old definition of the
function in the autoload property.

Lute.




reply via email to

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