diff options
| author | Lute Kamstra | 2005-04-28 08:38:35 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-28 08:38:35 +0000 |
| commit | f4cfd81af9ca9e0339171af9dff795610e268aea (patch) | |
| tree | 55ba0c3c483cb91c7ff5f107834f33594906f8c5 /src/eval.c | |
| parent | 500509e22d5c857e9853e8b5c848bd5cacf8d0de (diff) | |
| download | emacs-f4cfd81af9ca9e0339171af9dff795610e268aea.tar.gz emacs-f4cfd81af9ca9e0339171af9dff795610e268aea.zip | |
(do_autoload): Record only autoloads in the autoload property of symbols.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c index 8700ca222ce..6832f3197ad 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Evaluator for GNU Emacs Lisp interpreter. | 1 | /* Evaluator for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 86, 87, 93, 94, 95, 99, 2000, 2001, 02, 2004 | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1999, 2000, 2001, |
| 3 | Free Software Foundation, Inc. | 3 | 2002, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1982,10 +1982,7 @@ do_autoload (fundef, funname) | |||
| 1982 | second = Fcdr (first); | 1982 | second = Fcdr (first); |
| 1983 | first = Fcar (first); | 1983 | first = Fcar (first); |
| 1984 | 1984 | ||
| 1985 | /* Note: This test is subtle. The cdr of an autoload-queue entry | 1985 | if (CONSP (second) && EQ (XCAR (second), Qautoload)) |
| 1986 | may be an atom if the autoload entry was generated by a defalias | ||
| 1987 | or fset. */ | ||
| 1988 | if (CONSP (second)) | ||
| 1989 | Fput (first, Qautoload, (XCDR (second))); | 1986 | Fput (first, Qautoload, (XCDR (second))); |
| 1990 | 1987 | ||
| 1991 | queue = XCDR (queue); | 1988 | queue = XCDR (queue); |