[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode-line-eol-desc needs to use assoc, not assq
From: |
Chong Yidong |
Subject: |
Re: mode-line-eol-desc needs to use assoc, not assq |
Date: |
Sat, 20 Dec 2008 02:20:04 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"Ami Fischman" <address@hidden> writes:
> mode-line-eol-desc uses assq to look up desc in
> mode-line-eol-desc-cache, but the key used is computed by
> coding-system-eol-type which returns a vector sometimes. This results
> in mode-line-eol-desc-cache growing without bounds over the lifetime
> of an emacs process. Changing mode-line-eol-desc to use assoc instead
> of assq (so that the vectors are compared with equal and so have a
> chance of returning t) fixes this.
Checked in, thanks.