emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Extra information in autoload error


From: Eli Zaretskii
Subject: Re: [PATCH] Extra information in autoload error
Date: Mon, 24 Oct 2016 22:56:26 +0300

> From: Alex <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Mon, 24 Oct 2016 13:21:08 -0600
> 
> Here, fundef is the autoload object. That is, it's a list of the form:
> 
>   (autoload filename docstring interactive type)
> 
> So SDATA (Fcar (Fcdr (fundef))) just gets the filename of the autoload
> object. The filename of the autoload object is just the 2nd argument of
> the `autoload' function.
> 
> So the Vload_history version returns the whole path, while the fundef
> version just uses whatever was passed into autoload. Usually that is
> just the filename sans extension, e.g.:
> 
> (symbol-function 'linum-mode) => (autoload "linum" 1174895 t nil)

I think the file name alone will be enough.  Having a full absolute
file name would be nicer, though.  I see no need for anything else:
just the file name and the feature that was supposed to be autoloaded.

Thanks.



reply via email to

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