emacs-devel
[Top][All Lists]
Advanced

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

Re: How global is a define-global-minor-mode mode?


From: Richard Stallman
Subject: Re: How global is a define-global-minor-mode mode?
Date: Tue, 23 Jan 2007 15:55:35 -0500

>     Isn't it the case that it works if the minor mode function
>     corresponding to the variable is autoloaded?  Otherwise, IIRC you need
>     to add a :require to the definition of the minor mode.

    Not really: if the global minor mode is autoloaded, then :require is
    a nuisance,

I don't follow.  Could you explain why it is a nuisance?
And how does this relate to the question of whether the globalized
mode is autoloaded?

                so to do it automatically, define-global-minor-mode would have
    to know whether it's autoloaded or not.  And in most/all cases it's
    autoloaded anyway and if not, it should.

Are you proposing that every use of define-global-minor-mode should
have an autoload cookie?




reply via email to

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