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: Martin
Subject: Re: set key for mode?
Date: Mon, 24 Mar 2014 15:56:36 +0100
User-agent: mu4e 0.9.9.5; emacs 24.3.1

Thorsten Jolitz writes:

> 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)
> `--------------------------------------------

Thanks very much!

Martin



reply via email to

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