From xemacs-m  Mon Jul 14 17:12:51 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 RAA08287
	for <xemacs-beta@xemacs.org>; Mon, 14 Jul 1997 17:12:48 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.6/8.8.6) id AAA21945;
	Tue, 15 Jul 1997 00:12:45 +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> <kign2npb8fn.fsf@jagor.srce.hr>
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:12:45 +0200
In-Reply-To: Hrvoje Niksic's message of "15 Jul 1997 00:00:44 +0200"
Message-ID: <kiglo39b7vm.fsf@jagor.srce.hr>
Lines: 41
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta13) - "Brussels"

Hrvoje Niksic <hniksic@srce.hr> writes:

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

It doesn't.  `modeline-format' does, though (thanks, Noah!)

Here is an additional patch:

1997-07-15  Hrvoje Niksic  <hniksic@srce.hr>

	* packages/pending-del.el (pending-delete-mode): Use the option
	symbol as argument to add-minor-mode, not its value.

--- lisp/packages/pending-del.el.orig	Tue Jul 15 00:11:13 1997
+++ lisp/packages/pending-del.el	Tue Jul 15 00:11:22 1997
@@ -4,7 +4,7 @@
 
 ;; Author: Matthieu Devin <devin@lucid.com>, 14 Jul 92.
 ;; Maintainer: Hrvoje Niksic <hniksic@srce.hr>
-;; Version 2.1
+;; Version 2.2
 
 ;; This file is part of XEmacs.
 
@@ -44,7 +44,7 @@
   "*String to display in the modeline when Pending Delete mode is active."
   :type 'string)
 
-(add-minor-mode 'pending-delete-mode pending-delete-modeline-string)
+(add-minor-mode 'pending-delete-mode 'pending-delete-modeline-string)
 
 
 (defun pending-delete-active-region (&optional killp)


-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
4.  Thou shalt not warlorde a sig if it bee the sig of Kibo, nor if
    it bee the sig of the Inner Circle.

