emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancements to "minor-mode-map-alist" functionality.


From: Kim F. Storm
Subject: Re: Enhancements to "minor-mode-map-alist" functionality.
Date: 10 May 2002 10:33:16 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Richard Stallman <address@hidden> writes:

> I will accept this change (adding emulation-mode-map-alists).

Thank you.  Done!

BTW, I found a bug in the current_minor_maps function:

When it tries to grow the cmm_maps and cmm_modes arrays, it
starts out by increasing cmm_size to the desired size, but if
reallocation fails, cmm_maps and/or cmm_modes are not resized, but
cmm_size keeps the new value ... meaning that on next invocation,
current_minor_maps happily believes that cmm_maps and cmm_modes
were resized -- and writes to unallocated memory.

I'll fix that.


-- 
Kim F. Storm <address@hidden> http://www.cua.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]