From 207b15147366be47d58c40a6f03888243602b11e Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 17 Nov 2019 16:04:25 +0100 Subject: [PATCH] Vnative_units_loaded -> Vnative_load_history --- src/comp.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/comp.c b/src/comp.c index cbf38de29af..1de24eaaf98 100644 --- a/src/comp.c +++ b/src/comp.c @@ -3310,10 +3310,7 @@ DEFUN ("native-elisp-load", Fnative_elisp_load, Snative_elisp_load, 1, 1, 0, { CHECK_STRING (file); - if (NILP (Fhash_table_p (Vnative_units_loaded))) - Vnative_units_loaded = CALLN (Fmake_hash_table, QCtest, Qequal); - - Fputhash (file, Qt, Vnative_units_loaded); + Vnative_load_history = Fcons (file, Vnative_load_history); dynlib_handle_ptr handle = dynlib_open (SSDATA (file)); load_handle_stack = Fcons (make_mint_ptr (handle), load_handle_stack); @@ -3400,10 +3397,9 @@ syms_of_comp (void) doc: /* The compiler context. */); Vcomp_ctxt = Qnil; - DEFVAR_LISP ("native-units-loaded", Vnative_units_loaded, - doc: /* Hash table containing all the currently loaded - compilation units file names. */); - Vnative_units_loaded = Qnil; + DEFVAR_LISP ("native-load-history", Vnative_load_history, + doc: /* List with the history of the eln loaded. */); + Vnative_load_history = Qnil; /* Load mechanism. */ staticpro (&Vnative_elisp_refs_hash); -- 2.39.5