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

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

Re: self-insert-command source code?


From: Nicolas Richard
Subject: Re: self-insert-command source code?
Date: Fri, 05 Dec 2014 13:20:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Doug Lewan <dougl@shubertticketing.com> writes:
> M-x local-set-key <RET> a <RET> my-self-insert <RET>
> should activate it in the current buffer on key "a".

Beware, local-set-key uses the local map, which is usually the major
mode map. i.e. shared by all buffers with the same major mode (existing
and future).

-- 
Nicolas Richard



reply via email to

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