|
From: | Lennart Borgman (gmail) |
Subject: | Re: define-minor-mode does not add to customization group |
Date: | Sun, 18 Mar 2007 03:10:29 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 |
Stefan Monnier wrote:
A minor mode defined by define-minor-mode does not get added to the customization group given. To show this evaluate this code:(define-minor-mode the-temp-mode nil "doc string" :group 'the-temp-group)What would you want to be added to the group? This only defines a buffer-local variable and a function. Functions don't have a place in customization groups, and buffer-local variables are not properly handled by Custom.
Ah, thanks. I kind of forgot that the minor mode variable is buffer local.
[Prev in Thread] | Current Thread | [Next in Thread] |