[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/eval.c,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/eval.c,v |
Date: |
Sat, 27 Oct 2007 09:07:27 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 07/10/27 09:07:17
Index: src/eval.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/eval.c,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -b -r1.294 -r1.295
--- src/eval.c 16 Oct 2007 22:39:24 -0000 1.294
+++ src/eval.c 27 Oct 2007 09:07:17 -0000 1.295
@@ -2194,7 +2194,14 @@
/* Preserve the match data. */
record_unwind_save_match_data ();
- /* Value saved here is to be restored into Vautoload_queue. */
+ /* If autoloading gets an error (which includes the error of failing
+ to define the function being called), we use Vautoload_queue
+ to undo function definitions and `provide' calls made by
+ the function. We do this in the specific case of autoloading
+ because autoloading is not an explicit request "load this file",
+ but rather a request to "call this function".
+
+ The value saved here is to be restored into Vautoload_queue. */
record_unwind_protect (un_autoload, Vautoload_queue);
Vautoload_queue = Qt;
Fload (Fcar (Fcdr (fundef)), Qnil, Qt, Qnil, Qt);
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Richard M. Stallman, 2007/10/08
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Miles Bader, 2007/10/09
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Juanma Barranquero, 2007/10/14
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Stefan Monnier, 2007/10/16
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Miles Bader, 2007/10/16
- [Emacs-diffs] Changes to emacs/src/eval.c,v,
Miles Bader <=