emacs-devel
[Top][All Lists]
Advanced

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

Re: How to autoload easy-menu?


From: Joseph Turner
Subject: Re: How to autoload easy-menu?
Date: Thu, 12 Oct 2023 14:17:41 -0700

Joseph Turner <joseph@breatheoutbreathe.in> writes:
> Would you someone kindly point me toward an example of an autoloaded
> menu-bar using easymenu.el?

Here's how we do it in hyperdrive.el now:

https://git.sr.ht/~ushin/hyperdrive.el/tree/55c04f5d6071ca9737675af8374257a520313e51/item/hyperdrive.el#L1111

The downside is that hyperdrive.el and its dependencies will now always
be loaded when Emacs starts and `menu-bar-mode` is enabled.

Please share your suggestions! Thank you!!

Joseph



reply via email to

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