Reload rootlogon.C without exiting ROOT

I would like to know if it is possible to reload rootlogon.C without exiting ROOT. Actually, I exit ROOT and I restart it to reload my rootlogon.C after I have modified it.

EDIT: In fact, I found the answer.
I have to type “.x rootlogon.C” to reload it. Thanks.

I reopen this subject because I think I do not have understand everything.
If I type .x rootlogon.C, rootlogon is not reloaded, so could you tell me how to reload rootlogon whitout exiting ROOT. Thanks.


as you found out, you re-run rootlogon.C with .x rootlogon.C. What’s the problem with that?

Cheers, Axel.

[quote=“pamputt”]…x rootlogon.C, rootlogon is not reloaded, . . .[/quote]What did you mean “is not reloaded”. How do you know that ? Can you copy / past your ROOT session and your rootlogon.C as well? I would advice to invoke root[0].which rootlogon.C to make sure you “load” the file you need