aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-12-26 04:46:06 +0000
committerRichard M. Stallman2005-12-26 04:46:06 +0000
commit47b82df9438def318533fe6306b3337ee62cdd52 (patch)
tree4594996aa661678e14d17ea62b6d939063bc045d /src
parent989e66e151405f93cef69e59462b44f469fc6005 (diff)
downloademacs-47b82df9438def318533fe6306b3337ee62cdd52.tar.gz
emacs-47b82df9438def318533fe6306b3337ee62cdd52.zip
(un_autoload): Expect (0 . OFEATURES) in Vautoload_queue to undo a `provide'.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c6
1 files 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;
103/* Non-nil means record all fset's and provide's, to be undone 103/* Non-nil means record all fset's and provide's, to be undone
104 if the file being autoloaded is not fully loaded. 104 if the file being autoloaded is not fully loaded.
105 They are recorded by being consed onto the front of Vautoload_queue: 105 They are recorded by being consed onto the front of Vautoload_queue:
106 (FUN . ODEF) for a defun, (OFEATURES . nil) for a provide. */ 106 (FUN . ODEF) for a defun, (0 . OFEATURES) for a provide. */
107 107
108Lisp_Object Vautoload_queue; 108Lisp_Object Vautoload_queue;
109 109
@@ -2022,8 +2022,8 @@ un_autoload (oldqueue)
2022 first = XCAR (queue); 2022 first = XCAR (queue);
2023 second = Fcdr (first); 2023 second = Fcdr (first);
2024 first = Fcar (first); 2024 first = Fcar (first);
2025 if (EQ (second, Qnil)) 2025 if (EQ (first, make_number (0)))
2026 Vfeatures = first; 2026 Vfeatures = second;
2027 else 2027 else
2028 Ffset (first, second); 2028 Ffset (first, second);
2029 queue = XCDR (queue); 2029 queue = XCDR (queue);