emacs-devel
[Top][All Lists]
Advanced

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

Re: Where do you add key bindings for a mode made with define-derived-mo


From: Leo
Subject: Re: Where do you add key bindings for a mode made with define-derived-mode
Date: Wed, 29 Dec 2010 13:41:13 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (Mac OS X 10.6.5)

On 2010-12-29 13:28 +0000, Lennart Borgman wrote:
> Do you do that after the defining the major mode (i.e. when loading
> the library where it is defined) or is there another way?

It think it is up to you.

define-derived-mode uses

 (defvar some-major-mode-map (make-sparse-keymap))

Leo




reply via email to

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