Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!steinmetz!eraserhead!duff
From: duff@eraserhead.steinmetz (David A Duff)
Newsgroups: comp.emacs
Subject: Re: set-minor-mode
Message-ID: <11076@steinmetz.ge.com>
Date: 2 Jun 88 16:26:53 GMT
References: <8806011609.AA09715@symbol.sunecd.com>
Sender: news@steinmetz.ge.com
Reply-To: duff@eraserhead.UUCP (David A Duff)
Organization: General Electric CRD, Schenectady, NY
Lines: 38

In article <8806011609.AA09715@symbol.sunecd.com> cdr@symbol.UUCP (Constantine Rasmussen - Sun ECD) writes:
>I have a piece of elisp code that is looking for "set-minor-mode".  I
>can't find it in the sources, can someone tell me what I need to do to
>get around this?

Yes, I ran into this too.  I finally found the information I was looking for
in the "news" on changes to the latest version of emacs (type ^h ^n).  Here's
a short excerpt describing what you need to know about to get rid of the
set-minor-mode call:

minor-mode-alist
		This variable is responsible for displaying text for those
		minor modes that are currently enabled.  Its value
		is a list of elements of the form (VARIABLE STRING),
		where STRING is to be displayed if VARIABLE's value
		(in the buffer whose mode line is being displayed)
		is non-nil.  This variable is not made local to particular
		buffers, but loading some libraries may add elements to it.

[...]

** Deleted function `set-minor-mode'; minor modes must be changed.

The function `set-minor-mode' has been eliminated.  The display
of minor mode names in the mode line is now controlled by the
variable `minor-mode-alist'.  To specify display of a new minor
mode, it is sufficient to add an element to this list.  Once that
is done, you can turn the mode on and off just by setting a variable,
and the display will show its status automatically.

>Thanks,
>   Constantine Rasmussen              Sun Microsystems,  East Coast Division

Dave Duff       
GE Research and Development Center
Schenectady, New York   518-387-5649
duff@eraserhead.steinmetz.ge.com, duffd@ge-crd.ARPA, 
or uunet!steinmetz!eraserhead!duff