emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: minor modes


From: Stefan Monnier
Subject: Re: minor modes
Date: Thu, 17 Apr 2003 13:17:21 -0400

>     I don't understand `minor-mode-list'.  It clearly isn't `List of all
>     minor mode functions.' per the doc string, since it's apparently only
>     updated by the deprecated `add-minor-mode'
> 
> define-minor-mode generates calls to add-minor-mode.  That's why I put
> the code into add-minor-mode.  However, autoloaded minor modes
> are not usually included in the list; update-file-autoloads does not put
> anything into loaddefs.el that would put the function name onto
> minor-mode-list.  The function name has an autoload definition
> but it won't be on minor-mode-list until the real definition is loaded.
> 
> I think that is a bug, and I think think the right fix would
> be to put something in loaddefs.el to add these names to the list.

How about replacing the minor-mode-list variable with a minor-modes
custom group and have cus-dep.el deal with it ?


        Stefan





reply via email to

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