(Qmap_cns11643_2): Renamed from `Qchinese_cns11643_2'.
[chise/xemacs-chise.git.1] / src / emodules.c
index eb03bc8..88c81f0 100644 (file)
@@ -79,7 +79,7 @@ XEmacs, and then reload those new or changed modules that are required.
 Messages informing you of the progress of the load are displayed unless
 the variable `load-modules-quietly' is non-NIL.
 */
-       (file,name,version))
+       (file, name, version))
 {
   char *mod, *mname, *mver;
   int speccount = specpdl_depth();
@@ -118,7 +118,7 @@ referring to variables inside the module code.  However, once you have
 requested a module to be unloaded, it will be unloaded from memory as
 soon as the last reference to symbols within the module is destroyed.
 */
-       (file,name,version))
+       (file, name, version))
 {
   int x;
   char *mod, *mname, *mver;
@@ -426,6 +426,7 @@ emodules_load(const char *module, const char *modname, const char *modver)
     {
       emodules_depth--;
       dll_close (dlhandle);
+      dlhandle = 0;  /* Zero this out before module_load_unwind runs */
       return;
     }