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

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

Global minor modes are both supported and not supported


From: Florent Georges
Subject: Global minor modes are both supported and not supported
Date: Sat, 28 Jan 2006 17:10:58 +0100 (CET)

  Hi

  From (info "(elisp)Defining Monir Modes"):

The macro `define-minor-mode' offers a convenient way of
implementing a mode in one self-contained definition.  It
supports only buffer-local minor modes, not global ones.

 -- Macro: define-minor-mode mode doc [init-value [lighter
            [keymap keyword-args... body...]]]

[...]

    `:global GLOBAL'
          If non-`nil' specifies that the minor mode
          should be global. By default, minor modes are
          buffer-local.

  HTH,

--drkm

















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com




reply via email to

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