all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* easy-menu: wrong-type-argument keymapp
@ 2005-05-26 23:31 Tim Johnson
  0 siblings, 0 replies; 7+ messages in thread
From: Tim Johnson @ 2005-05-26 23:31 UTC (permalink / raw)


:-) Since easy-menu seems to be the topic dejour here's what's
teasing my brain today......

The following code works in xemacs, but generates
an error message from emacs where this
code is in .emacs:
(easy-menu-add-item  nil '("File") ["Load Desktop" desktop-read t])

;; and the error message is:
(wrong-type-argument keymapp nil)
 define-key(nil [menu-bar File] ("File" keymap "File"))

 easy-menu-add-item documentation tells me (I think)
 that nil defaults to global keymap.

 Any help would be appreciated. Furthermore, I've
 taken over a orphaned major mode to which I've added
 easy-menu code that works in xemacs but not in emacs,
 so this is a first step in resolving these performances
 between forks.

 Cheers
 tim
-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-29  3:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1985.1117151351.25862.help-gnu-emacs@gnu.org>
2005-05-28 14:13 ` easy-menu: wrong-type-argument keymapp Stefan Monnier
2005-05-28 15:48   ` Tim Johnson
2005-05-28 16:08     ` Drew Adams
2005-05-28 18:04       ` Tim Johnson
2005-05-28 18:18         ` menu-bar+ problem (was: easy-menu: wrong-type-argument keymapp) Drew Adams
2005-05-29  3:04       ` easy-menu: wrong-type-argument keymapp Tim Johnson
2005-05-26 23:31 Tim Johnson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.