-*vim9.txt* For Vim version 9.2. Last change: 2026 Jul 20
+*vim9.txt* For Vim version 9.2. Last change: 2026 Jul 22
VIM REFERENCE MANUAL by Bram Moolenaar
The exported functions and variables of an autoload script live in the global
namespace with the autoload prefix. When such a script is sourced again they
are likewise given a clean slate, so an autoload script can be sourced more
-than once. A class or enum is an exception: it cannot be redefined this way
-and |E1041| is given, because objects created from the previous definition
-would keep referring to it. Restart Vim to load a changed class or enum.
+than once. A class or enum in an autoload script is an exception: it cannot
+be redefined this way and |E1041| is given, because objects created from the
+previous definition would keep referring to it. Restart Vim to load a changed
+class or enum in an autoload script. In other scripts a class or enum is
+cleared like everything else, so it can be redefined.
If you do want to keep items, use: >
vim9script noclear