aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/eval.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c238af65d2d..839e7e52e00 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * eval.c (Fautoload): Remember previous autoload status in load-history.
4
12012-10-11 Paul Eggert <eggert@cs.ucla.edu> 52012-10-11 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 lread.c, macros.c, marker.c, menu.c, minibuf.c: Use bool for booleans. 7 lread.c, macros.c, marker.c, menu.c, minibuf.c: Use bool for booleans.
diff --git a/src/eval.c b/src/eval.c
index 4d200fbc2bd..975204da017 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1876,9 +1876,11 @@ this does nothing and returns nil. */)
1876 CHECK_STRING (file); 1876 CHECK_STRING (file);
1877 1877
1878 /* If function is defined and not as an autoload, don't override. */ 1878 /* If function is defined and not as an autoload, don't override. */
1879 if (!EQ (XSYMBOL (function)->function, Qunbound) 1879 if ((CONSP (XSYMBOL (function)->function)
1880 && !(CONSP (XSYMBOL (function)->function) 1880 && EQ (XCAR (XSYMBOL (function)->function), Qautoload)))
1881 && EQ (XCAR (XSYMBOL (function)->function), Qautoload))) 1881 /* Remember that the function was already an autoload. */
1882 LOADHIST_ATTACH (Fcons (Qt, function));
1883 else if (!EQ (XSYMBOL (function)->function, Qunbound))
1882 return Qnil; 1884 return Qnil;
1883 1885
1884 if (NILP (Vpurify_flag)) 1886 if (NILP (Vpurify_flag))