aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-08-24 03:17:18 +0000
committerRichard M. Stallman <[email protected]>2002-08-24 03:17:18 +0000
commitd642e4f9ee5f73140413399c76f38b07d03cec6d (patch)
tree0c704761d2c012ffd1bc7850dccf3fac97983c67 /src
parented30cf85d76ca9ea9ac03ed903a4e4b3994a1d81 (diff)
(build_load_history): Use Fmember to see if a definition
is already in the Vload_history element. (syms_of_lread): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lread.c b/src/lread.c
index 28a59941fa..f273ce60ec 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1201,7 +1201,7 @@ build_load_history (stream, source)
{
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 @@ when the corresponding call to `provide' is made. */);
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,