:-) 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 <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to