unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Global minor modes are both supported and not supported
@ 2006-01-28 16:10 Florent Georges
  0 siblings, 0 replies; only message in thread
From: Florent Georges @ 2006-01-28 16:10 UTC (permalink / raw)


  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-28 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 16:10 Global minor modes are both supported and not supported Florent Georges

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).