From xemacs-m  Tue Jul 15 02:37:54 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA11030
	for <xemacs-beta@xemacs.org>; Tue, 15 Jul 1997 02:37:53 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id AAA16468;
	Tue, 15 Jul 1997 00:41:05 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: pending-delete customization [PATCH]
References: <bci67ud5tse.fsf@corp.Sun.COM> 	<kig4t9xctxy.fsf@jagor.srce.hr> <199707142105.RAA06485@anthem.CNRI.Reston.Va.US> <wu7metb5vr.fsf@spline.la.asu.edu> <m2lo391868.fsf@altair.xemacs.org> <kig90z988ks.fsf@jagor.srce.hr> <m2iuyd1749.fsf@altair.xemacs.org> <kig3eph87js.fsf@jagor.srce.hr>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: Hrvoje Niksic's message of "15 Jul 1997 02:48:07 +0200"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 15 Jul 1997 00:41:04 -0700
Message-ID: <m2iuycyd7z.fsf@altair.xemacs.org>
Lines: 48
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta14) - "Vienna"

Hrvoje Niksic <hniksic@srce.hr> writes:

> Steven L Baur <steve@xemacs.org> writes:
>> The docs also say nothing about allowing `name' to be a symbol.

> They do (I was wrong when I first asserted the above).  Look at the
> docs of `modeline-format':

'Tis true, but is one level of indirection.  The docstring of
add-minor-mode implies that a string must be passed.

1997-07-15  Steven L Baur  <steve@altair.xemacs.org>

	* prim/modeline.el (add-minor-mode): Update docstring.


Index: lisp/prim/modeline.el
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/lisp/prim/modeline.el,v
retrieving revision 1.6
diff -u -r1.6 modeline.el
--- modeline.el	1997/07/13 22:41:47	1.6
+++ modeline.el	1997/07/15 07:38:34
@@ -265,15 +265,15 @@
   "Add a minor mode to `minor-mode-alist' and `minor-mode-map-alist'.
 TOGGLE is a symbol whose value as a variable specifies whether the
 minor mode is active.  NAME is the name that should appear in the
-modeline (it should be a string beginning with a space).  KEYMAP is a
-keymap to make active when the minor mode is active.  AFTER is the
-toggling symbol used for another minor mode.  If AFTER is non-nil,
-then it is used to position the new mode in the minor-mode alists.
-TOGGLE-FUN specifies an interactive function that is called to toggle
-the mode on and off; this affects what happens when button2 is pressed
-on the mode, and when button3 is pressed somewhere in the list of
-modes.  If TOGGLE-FUN is nil and TOGGLE names an interactive function,
-TOGGLE is used as the toggle function.
+modeline (it should either be a string beginning with a space or a
+symbol).  KEYMAP is a keymap to make active when the minor mode is
+active.  AFTER is the toggling symbol used for another minor mode.  If
+AFTER is non-nil, then it is used to position the new mode in the
+minor-mode alists.  TOGGLE-FUN specifies an interactive function that
+is called to toggle the mode on and off; this affects what happens
+when button2 is pressed on the mode, and when button3 is pressed
+somewhere in the list of modes.  If TOGGLE-FUN is nil and TOGGLE names
+an interactive function, TOGGLE is used as the toggle function.
 
 Example:  (add-minor-mode 'view-minor-mode \" View\" view-mode-map)"
   (let (el place

