[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add-menu-button: Xemacs to emacs
From: |
Stefan Monnier |
Subject: |
Re: add-menu-button: Xemacs to emacs |
Date: |
Wed, 16 Mar 2005 12:47:52 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> So the easy-menu-* functions require a keymap as one argument, even
> though the implementation for XEmacs will most likely ignore it.
Actually, if memory servs the trick is that the LaTeX-mode-map (or other)
keymap is passed as an argument twice: once in easy-menu-define and one in
easy-menu-add. Emacs ignores the one in easy-menu-add, and XEmacs ignores
the one in easy-menu-define.
Stefan