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

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

Re: easy menu


From: Jesper Harder
Subject: Re: easy menu
Date: Sat, 05 Apr 2003 10:23:03 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

Bruce Ingalls <bingalls@CUT-this-SPAM-BLOCK.fit-zones.com> writes:

> I am trying to get a2ps-print to add to Emacs's existing Files menu,
> using easy-menu.
>
>    (easy-menu-add-item nil '("files")
>                '(nil
>                  ["a2ps Print Buffer" a2ps-buffer t]))
>
> The problem is the " '(nil" in the second line.
> How do I tell easy-menu to put this in the File menu, and not a submenu?

I don't know about easy-menu, but this works:

(define-key-after menu-bar-file-menu [a2ps] 
  '("a2ps Print Buffer" . a2ps-buffer)
  'ps-print-buffer)


reply via email to

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