commit: 68960e58758c3e171fae59ac9c70a5ee8978f350
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 22:08:45 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 22:08:45 2015 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=68960e58
Calling a USE list function in global scope is an error.
pkg-mgr-commands.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 1884a5c..83fbd68 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -646,8 +646,8 @@ in table~\ref{tab:compression-table} as supporting
\t{docompress}.
\subsubsection{Use List Functions}
These functions provide behaviour based upon set or unset use flags. Ebuilds
must not run any of
-these commands once the current phase function has returned. Ebuilds must not
run any of these
-functions in global scope.
+these commands once the current phase function has returned. It is an error if
an ebuild calls any
+of these functions in global scope.
If any of these functions is called with a flag value that is not included in
\t{IUSE\_EFFECTIVE},
either behaviour is undefined or it is an error as decided by
table~\ref{tab:use-list-strictness}.