changeset 67810:65be704fdaf2

(un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Dec 2005 04:46:06 +0000
parents a4fcb45bffec
children e7ac0fc47db5
files src/eval.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Mon Dec 26 04:45:11 2005 +0000
+++ b/src/eval.c	Mon Dec 26 04:46:06 2005 +0000
@@ -103,7 +103,7 @@
 /* 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 @@
       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);