[Mac-emacs-users]

Matthias Scheidegger <[email protected]> Thu, 03 Oct 2002 12:23:11 +0200
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
Hi all,

this might not be a mac-emacs specific question: Coming from 
Linux/Xemacs I tried to convert my hooks for various
major modes. Changing (define-key c-mode-map ...) to (local-set-key 
...) worked pretty well with the exception of the key combination 
Ctrl-Return. I figured this would be written

(local-set-key "\C-\r" 'my-function)

or

(local-set-key [?\C-?\r] 'my-function)

but neither worked. How can I get this to work?

tnx

Matthias



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf