[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] How to add to a menu
From: |
Eli Daniel |
Subject: |
RE: [h-e-w] How to add to a menu |
Date: |
Thu, 23 Jan 2003 12:39:13 -0500 |
Take a look at the easy-menu package (which is part of GNU Emacs). In
particular, see the function easy-menu-add-item.
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Neil Mackie
> Sent: Thursday, January 23, 2003 10:59 AM
> To: address@hidden
> Subject: [h-e-w] How to add to a menu
>
> For a long time with Xemacs I used to add a 'print' option to the
'file'
> menu with
> (add-menu-item '("File") "Print Buffer with faces"
'ps-print-buffer-
> with-faces t)
>
> The above does not work with GNU emacs which is what I use now and I
have
> not been able to find an alternative way of doing it.
>
> Could someone post an example of adding to an existing menu or adding
to
> the main menu bar. Failing that could someone point me at an
appropriate
> package?
>
> Regards,
> Neil (J Mackie).
>