all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* adding perl-mode menu
@ 2005-02-13 20:54 bluj
  2005-02-14  1:42 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: bluj @ 2005-02-13 20:54 UTC (permalink / raw)


Hello,
I have used emacs for quite a while, but have never delved into
customization or lisp.
I would like to add a menu in emacs, only in the perl major mode.

I thought that this would do it:

(define-key perl-mode-map [menu-bar cust]
  (cons "Cust" (make-sparse-keymap "Cust")))

what am i doing wrong???? if i change perl-mode-map to global-map i am
fine...
Why is there no documentation on this for gnu emacs??? If someone can
point me to a doc that goes into specifics about this, I would be
greatful. The faq only covers adding to global-map....

thanks
jonathan

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

end of thread, other threads:[~2005-02-15  0:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-13 20:54 adding perl-mode menu bluj
2005-02-14  1:42 ` Stefan Monnier
2005-02-14  4:13   ` bluj
2005-02-14 13:59     ` Stefan Monnier
2005-02-15  0:24       ` bluj

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.