[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lread.c's `values' variable
From: |
Kim F. Storm |
Subject: |
Re: lread.c's `values' variable |
Date: |
03 Nov 2002 02:19:06 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> writes:
> Does anybody know what is the `values' variable for (defined in lread.c) ?
>
> See lisp-mode.el.
Yes, it uses (car values).
However, that doesn't explain why `values' needs to be a list of all
expressions "which were read, evaluated and printed". Since it grows
without ever being truncated, it is a memory leak IMO.
AFAICS, a simple `last-value' variable would do just fine as a
replacement.
--
Kim F. Storm <address@hidden> http://www.cua.dk