erc-discuss
[Top][All Lists]
Advanced

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

[Erc-discuss] Re: eval-after-load in erc-menu.el


From: Michael Olson
Subject: [Erc-discuss] Re: eval-after-load in erc-menu.el
Date: Sat, 06 Jan 2007 22:53:02 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

Leo <address@hidden> writes:

> As stated in (info "(elisp)Coding Conventions"), seems using
> eval-after-load should be avoided in elisp library. However, it is
> used in erc-menu.el. Can we make a solution without using
> eval-after-load?
>
> I noticed sometimes the 'ERC' menu shows up as:
>
>            (menu bar) ERC-
>                         \-ERC-...
>                         |
>                         \-ERC-...
>
> I don't know what has caused the problem, maybe eval-after-load.

Thanks for the reminder.  I had been eying this file uneasily for a
while and had been meaning to give it a makeover.  I've checked in
changes to erc--main--0 which make this into a module called "menu".
It works for me so far.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.

Attachment: pgpb_JiRuibrx.pgp
Description: PGP signature


reply via email to

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