home *** CD-ROM | disk | FTP | other *** search
- Date: Thu, 13 Aug 1992 10:23:38 EST
- From: c23mts@kocrsv01.delcoelect.com (Mike Scheidler)
- Subject: Re: Could someone send an example of a nested menu (submenu)?
- Message-ID: <9208131523.AA06682@kocrsw12.delcoelect.com>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 23
-
- On Wed Aug 12 16:24:16 1992 bob_weiner@pts.mot.com writes:
- >
- >The doc I've seen says one can nest menus but does not show
- >the precise syntax. The 'add-menu-item' code doc does not help either.
- >A basic example would get me going.
- >
-
- Here's a small example of a nested menu definition that I have been using.
- I know this works with version 19.1--I hope things are still the same in 19.2.
-
- (add-menu-item '("Search" "String search") "Forward" 'search-forward t)
- (add-menu-item '("Search" "String search") "Backward" 'search-backward t)
- (add-menu-item '("Search" "Regexp search") "Forward" 're-search-forward t)
- (add-menu-item '("Search" "Regexp search") "Backward" 're-search-backward t)
- (add-menu-item '("Search") "Replace string" 'replace-string t)
- (add-menu-item '("Search") "Replace regexp" 'replace-regexp t)
-
- --
- Mike Scheidler INTERNET: c23mts@kocrsv01.delcoelect.com
- Software Technology UUCP: deaes!c23mts
- Delco Electronics Corporation PHONE: (317) 451-0642
- Kokomo, IN 46904
-
-