Adding logic to the autoload if statement so it only fire if the module is being loaded.
This commit is contained in:
parent
3301e21f06
commit
d163be6a13
@ -23,7 +23,7 @@ proc ModulesHelp { } {
|
|||||||
|
|
||||||
{% block autoloads %}
|
{% block autoloads %}
|
||||||
{% for module in autoload %}
|
{% for module in autoload %}
|
||||||
if ![ is-loaded {{ module }} ] {{ '{' }}
|
if { [ module-info mode load ] && ![ is-loaded {{ module }} ] } {{ '{' }}
|
||||||
{% if verbose %}
|
{% if verbose %}
|
||||||
puts stderr "Autoloading {{ module }}"
|
puts stderr "Autoloading {{ module }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user