help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set key for mode?


From: Thorsten Jolitz
Subject: Re: set key for mode?
Date: Mon, 24 Mar 2014 15:50:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden writes:

> Hi there,
>
> What is the mode-local alternative to global-set-key?  I'd like to make
> a now undefined C-cd for org-mode but only for org-mode not global.
> Can i do that?

,--------------------------------------------
| (org-defkey org-mode-map "\C-cd" 'my-defun)
`--------------------------------------------

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]