Skip to content

Commit 7b5d8a4

Browse files
committed
doc: desc. __MODULES_LMREFRESH in NEWS/man/changes
1 parent 424aa90 commit 7b5d8a4

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.aspell.en.pws

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
personal_ws-1.1 en 853
1+
personal_ws-1.1 en 854
22
ABBRVLIST
33
ActiveTcl
44
Adrien
@@ -89,6 +89,7 @@ LMINIT
8989
LMNOTUASKED
9090
LMOD
9191
LMPREREQ
92+
LMREFRESH
9293
LMSOURCESH
9394
LMTAG
9495
LMVARIANT

NEWS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ Modules 5.2.0 (not yet released)
142142
:ref:`log-module-command` recipe. (fix issue #475)
143143
* Rename the default git branch from *master* to *main* to use inclusive
144144
terminology.
145+
* Mark loaded modules that could benefit from a refresh evaluation in the
146+
:envvar:`__MODULES_LMREFRESH` environment variable.
145147

146148
.. _Nagelfar: http://nagelfar.sourceforge.net/
147149
.. _ShellCheck: https://www.shellcheck.net/

doc/source/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,8 @@ The following environment variables appeared on Modules 5.
892892
| 5.2 | :envvar:`MODULES_PROTECTED_ENVVARS`, |
893893
| | :envvar:`MODULES_TCL_LINTER`, |
894894
| | :envvar:`__MODULES_LMINIT`, |
895-
| | :envvar:`MODULES_RESET_TARGET_STATE` |
895+
| | :envvar:`MODULES_RESET_TARGET_STATE`, |
896+
| | :envvar:`__MODULES_LMREFRESH` |
896897
+------------+-----------------------------------------------------------------+
897898

898899
Modules Specific Tcl Commands

doc/source/module.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2716,6 +2716,16 @@ ENVIRONMENT
27162716
.. versionchanged:: 5.0
27172717
Variable renamed from ``MODULES_LMPREREQ`` to ``__MODULES_LMPREREQ``
27182718

2719+
.. envvar:: __MODULES_LMREFRESH
2720+
2721+
A colon separated list of the loaded modules that are qualified for refresh
2722+
evaluation. Loaded modules listed in this variable are those defining
2723+
volatile environment changes like shell completion, alias and function.
2724+
2725+
.. only:: html
2726+
2727+
.. versionadded:: 5.2
2728+
27192729
.. envvar:: __MODULES_LMSOURCESH
27202730

27212731
A colon separated list of the :mfcmd:`source-sh` statements defined by all

0 commit comments

Comments
 (0)