bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#64901: 29.1; use-package fails to require bind-key at runtime in com


From: Eli Zaretskii
Subject: bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files
Date: Fri, 04 Aug 2023 09:43:08 +0300

> From: John Wiegley <johnw@gnu.org>
> Cc: contovob@tcd.ie,  64901@debbugs.gnu.org,  david@fiander.info
> Date: Thu, 03 Aug 2023 15:16:39 -0700
> 
> >>>>> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Thanks.  Is the below what you had in mind?
> > 
> > diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el
> > index 0ab72ea..4affd8f 100644
> > --- a/lisp/use-package/bind-key.el
> > +++ b/lisp/use-package/bind-key.el
> > @@ -180,6 +180,7 @@ bind-key
> >  Emacs can evaluate this form at any time that it does redisplay
> >  or operates on menu data structures, so you should write it so it
> >  can safely be called at any time."
> > +  (require 'bind-key)
> >    (let ((namevar (make-symbol "name"))
> >          (keyvar (make-symbol "key"))
> >          (kmapvar (make-symbol "kmap"))
> 
> That’s too early, it would be:

Thanks, installed, and closing the bug.





reply via email to

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