From xemacs-m  Mon Jul 14 17:00:52 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA08184
	for <xemacs-beta@xemacs.org>; Mon, 14 Jul 1997 17:00:48 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.6/8.8.6) id AAA20589;
	Tue, 15 Jul 1997 00:00:44 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: pending-delete customization [PATCH]
References: <bci67ud5tse.fsf@corp.Sun.COM> <kig4t9xctxy.fsf@jagor.srce.hr> <bci20515sey.fsf@corp.Sun.COM> <kigu3hxbe4p.fsf@jagor.srce.hr> <w44t9xcrty.fsf@loiosh.kei.com> <kigpvslbcl6.fsf@jagor.srce.hr> <bcivi2d4av3.fsf@corp.Sun.COM>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 15 Jul 1997 00:00:44 +0200
In-Reply-To: Gary.Foster@Corp.Sun.COM's message of "14 Jul 1997 13:50:08 -0700"
Message-ID: <kign2npb8fn.fsf@jagor.srce.hr>
Lines: 24
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta13) - "Brussels"

Gary.Foster@Corp.Sun.COM (Gary D. Foster) writes:

> The problem seems to be here:
> 
> (add-minor-mode 'pending-delete-mode pending-delete-modeline-string)
> 
> should be:
> 
> (add-minor-mode 'pending-delete-mode 'pending-delete-modeline-string)
> 
> I'm not sure why this makes a difference, but the second way works and 
> the first way doesn't.

The first way simply passes a string to `add-minor-mode', whereas the
second way passes a symbol.

Looking up the symbol value is undocumented, though.  I had no idea
`add-minor-mode' supported it.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
* Vi is the God of editors.
* Emacs is the editor of Gods.

