|
From: | Lennart Borgman (gmail) |
Subject: | Re: Longlines mode in menu |
Date: | Wed, 18 Jun 2008 23:53:31 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
David Reitter wrote:
On 18 Jun 2008, at 22:17, Lennart Borgman (gmail) wrote:Couldn't you just use a minor mode and put it last in minor-mode-map-alist? AFAICS new modes are entered first in that list by default.Guess I could define two minor modes, but how do I correctly add something to the list?Or can I manipulate the list when the minor mode is activated?
The keymap is added to minor-mode-map-alist by add-minor-mode when the minor mode is defined. So you can move the entry when you turn on the minor mode.
[Prev in Thread] | Current Thread | [Next in Thread] |