Subject: Re: bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item

From: Stefan Monnier <[email-masked]>
Date: Mon, 29 Jul 2013 12:40:31 -0400

>>> Thanks for the report; fixed.
>> I don't think that's enough: the error is signaled before
>> adaptive-wrap.el is loaded, i.e. before seeing the code you modified.
>> You'd need to add a ;;;###autoload in front of the new (require 'easymenu).
> Shouldn't adaptive-wrap rather use one of the autoloadable functions
> from "easymenu"?

It could, but that would load easymenu just as well.

An alternative would be to do the same with define-key rather than
using easymenu.

        Stefan