[Top][All Lists]

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

Re: Longlines mode in menu

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: Gecko/20071031 Thunderbird/ Mnenhy/

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.

reply via email to

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