]> code.delx.au - gnu-emacs/commitdiff
(Vloads_in_progress): Remove extern.
authorLute Kamstra <lute@gnu.org>
Mon, 18 Apr 2005 10:20:46 +0000 (10:20 +0000)
committerLute Kamstra <lute@gnu.org>
Mon, 18 Apr 2005 10:20:46 +0000 (10:20 +0000)
(load_in_progress): Add extern.
(Frequire): Use load_in_progress instead of Vloads_in_progress.

src/fns.c

index e921579f79b2de52f7bd81b25215b53a56d72b06..daa9e10c465df4a774ddffdcbb04af9a2545afb6 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -66,7 +66,7 @@ int use_file_dialog;
 extern int minibuffer_auto_raise;
 extern Lisp_Object minibuf_window;
 extern Lisp_Object Vlocale_coding_system;
-extern Lisp_Object Vloads_in_progress;
+extern int load_in_progress;
 
 Lisp_Object Qstring_lessp, Qprovide, Qrequire;
 Lisp_Object Qyes_or_no_p_history;
@@ -3460,7 +3460,7 @@ The normal messages at start and end of loading FILENAME are suppressed.  */)
      even if the feature specified is already loaded.
      But not more than once in any file,
      and not when we aren't loading a file.  */
-  if (! NILP (Vloads_in_progress))
+  if (load_in_progress)
     {
       tem = Fcons (Qrequire, feature);
       if (NILP (Fmember (tem, Vcurrent_load_list)))