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

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

Re: emacs init and mode-maps


From: Andreas Roehler
Subject: Re: emacs init and mode-maps
Date: Fri, 23 Jun 2006 12:38:13 +0200
User-agent: KNode/0.9.2

David Kastrup wrote:

> Andreas Roehler <address@hidden> writes:
> 
>> An assignment as
>>
>> (define-key sh-mode-map "\M-#" 'do-something)
>>
>> should work instantly, as soon as sh-mode is activated.
>               ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> You are aware that this is a complete contradiction, unless
> sh-mode is activated instantly (hardly desirable)?
> 

OK: 

An assignment as 

(define-key sh-mode-map "\M-#" 'do-something)

should work - i.e. at least be recorded for further use
-

also, if sh-mode isn't activated yet.

__
Andreas Roehler


reply via email to

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