From 47b82df9438def318533fe6306b3337ee62cdd52 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 26 Dec 2005 04:46:06 +0000 Subject: [PATCH] (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'. --- src/eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eval.c b/src/eval.c index 86859e4ddae..ba70412edaf 100644 --- a/src/eval.c +++ b/src/eval.c @@ -103,7 +103,7 @@ Lisp_Object Vrun_hooks; /* Non-nil means record all fset's and provide's, to be undone if the file being autoloaded is not fully loaded. They are recorded by being consed onto the front of Vautoload_queue: - (FUN . ODEF) for a defun, (OFEATURES . nil) for a provide. */ + (FUN . ODEF) for a defun, (0 . OFEATURES) for a provide. */ Lisp_Object Vautoload_queue; @@ -2022,8 +2022,8 @@ un_autoload (oldqueue) first = XCAR (queue); second = Fcdr (first); first = Fcar (first); - if (EQ (second, Qnil)) - Vfeatures = first; + if (EQ (first, make_number (0))) + Vfeatures = second; else Ffset (first, second); queue = XCDR (queue); -- 2.39.5