[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add a hook to JDE?
From: |
Kai Großjohann |
Subject: |
Re: How to add a hook to JDE? |
Date: |
Sat, 05 Jul 2003 10:45:51 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
john <jk-listas@bol.com.br> writes:
> (global-set-key "\M-j \M-g c" 'jde-gen-class)
This means M-j SPC M-g SPC c. Not what you want, I think.
Try (global-set-key (kbd "M-j M-g c") 'jde-gen-class). I like the
kbd syntax. It is similar to what C-h k, C-h c, C-h w, C-h l print.
But I suggest to bind the keys in JDE mode only, like so:
(require 'jde)
(define-key jde-mode-map (kbd "M-j M-g c") 'jde-gen-class)
--
~/.signature