# HG changeset patch # User Richard M. Stallman # Date 1030159038 0 # Node ID 3bd4234e08448058419bbe860b466e29d1348222 # Parent de9a20871faa635993a68f1cf03872ed3f6f5cac (build_load_history): Use Fmember to see if a definition is already in the Vload_history element. (syms_of_lread): Doc fix. diff -r de9a20871faa -r 3bd4234e0844 src/lread.c --- a/src/lread.c Sat Aug 24 03:16:03 2002 +0000 +++ b/src/lread.c Sat Aug 24 03:17:18 2002 +0000 @@ -1201,7 +1201,7 @@ { newelt = XCAR (tem2); - if (NILP (Fmemq (newelt, tem))) + if (NILP (Fmember (newelt, tem))) Fsetcar (tail, Fcons (XCAR (tem), Fcons (newelt, XCDR (tem)))); @@ -3760,9 +3760,9 @@ Each alist element is a list that starts with a file name, except for one element (optional) that starts with nil and describes definitions evaluated from buffers not visiting files. -The remaining elements of each list are symbols defined as functions -or variables, and cons cells `(provide . FEATURE)', `(require . FEATURE)', -and `(autoload . SYMBOL)'. */); +The remaining elements of each list are symbols defined as functions, +and cons cells of the form `(provide . FEATURE)', `(require . FEATURE)', +`(defvar . VARIABLE), and `(autoload . SYMBOL)'. */); Vload_history = Qnil; DEFVAR_LISP ("load-file-name", &Vload_file_name,