[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-minor-mode does not add to customization group
From: |
Stefan Monnier |
Subject: |
Re: define-minor-mode does not add to customization group |
Date: |
Sat, 17 Mar 2007 21:35:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
> 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.
Stefan