|
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
[Prev in Thread] | Current Thread | [Next in Thread] |