# HG changeset patch # User Lute Kamstra # Date 1114677515 0 # Node ID 787052160d8780a72e5bf3eea6d17e6044eab1d4 # Parent cdd3e3ac3b378cad5fa1a0d5392242aec41dd567 (do_autoload): Record only autoloads in the autoload property of symbols. diff -r cdd3e3ac3b37 -r 787052160d87 src/eval.c --- a/src/eval.c Thu Apr 28 06:52:01 2005 +0000 +++ b/src/eval.c Thu Apr 28 08:38:35 2005 +0000 @@ -1,6 +1,6 @@ /* Evaluator for GNU Emacs Lisp interpreter. - Copyright (C) 1985, 86, 87, 93, 94, 95, 99, 2000, 2001, 02, 2004 - Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001, + 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1982,10 +1982,7 @@ second = Fcdr (first); first = Fcar (first); - /* Note: This test is subtle. The cdr of an autoload-queue entry - may be an atom if the autoload entry was generated by a defalias - or fset. */ - if (CONSP (second)) + if (CONSP (second) && EQ (XCAR (second), Qautoload)) Fput (first, Qautoload, (XCDR (second))); queue = XCDR (queue);