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 17:59:09 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Maybe we can shift recording the old autoload definition from
>     do_autoload to Fload?
>
> Fload has no information about this.
> It would have to be done in Fdefun, etc.

>From what I understand, the way it works now is that Ffset records the
old definition of a function in Vautoload_queue if that var is
non-nil.  do_autoload sets Vautoload_queue to t before it calls Fload
and then uses the information recorded in Vautoload_queue to set the
autoload property of function symbols.  The information in
Vautoload_queue is also used to restore things when Fload fails.

Is there a reason why Fload can't do like do_autoload and use the
information recorded in Vautoload_queue to set the autoload property
of function symbols?  (I'm not saying that doing the recording in
Fload is the best/right way, but I think it could be done.)

Lute.




reply via email to

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