emacs-devel
[Top][All Lists]
Advanced

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

Re: Why subr.el doesn't provide a feature?


From: Zhu Zihao
Subject: Re: Why subr.el doesn't provide a feature?
Date: Thu, 29 Aug 2019 18:59:00 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/27.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Thu, 29 Aug 2019 15:12:08 +0800,
Eli Zaretskii wrote:
> 
> > Date: Thu, 29 Aug 2019 11:59:30 +0800
> > From: Zhu Zihao <address@hidden>
> > Cc: address@hidden
> > 
> > There's no form like "(provide 'subr)" in subr.el. I'm interesting in the 
> > reason
> > of not doing such thing? Is it because it will cause conflict during the
> > bootstrap? 
> 
> Because it's preloaded, I guess.

Should we add a provide form for subr? I ask this question because I see a elisp
file wrote "(require 'subr)" and no doubt that it failed to run because subr.el
didn't provide such feature.

Though it's rare condition because we just use subr.el without requiring it. But
each elisp library should provide a feature whose name is same as filename of
library on regular basis.




reply via email to

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