Re: How to tell if we're being loaded by ASDF?

2020-03-08 Thread Robert Goldman
On 8 Mar 2020, at 17:22, Robert Dodier wrote: > Hi, this is a bit off the wall, but maybe there is a way to do it. A > web search didn't seem to find anything about it. > > Is there a way to know that ASDF is loading stuff? > > I have this situation. A file might be loaded by ASDF or it might be

Re: How to tell if we're being loaded by ASDF?

2020-03-08 Thread Faré
One hacky way is to check whether *asdf-session* is nil or not. For more precision, check the top of the visiting-action-list of the *asdf-session* and see if its component has the pathname of your lisp file (from (uiop:current-lisp-file-pathname) —♯ƒ • François-René ÐVB Rideau •Reflection•

How to tell if we're being loaded by ASDF?

2020-03-08 Thread Robert Dodier
Hi, this is a bit off the wall, but maybe there is a way to do it. A web search didn't seem to find anything about it. Is there a way to know that ASDF is loading stuff? I have this situation. A file might be loaded by ASDF or it might be loaded by hand. If it's being loaded by ASDF, then I'd