From xemacs-m  Sun Jul 20 10:18:35 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA29152
	for <xemacs-beta@xemacs.org>; Sun, 20 Jul 1997 10:18:28 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id IAA00680;
	Sun, 20 Jul 1997 08:17:26 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: [PATCH] `whitespace-mode' quick fix to make `edit-toolbar' work.
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Sun_Jul_20_08:17:25_1997-1"
Content-Transfer-Encoding: 7bit
From: karlheg+xemacs@inetarena.com (Karl M. Hegbloom)
Date: 20 Jul 1997 08:17:25 -0700
Message-ID: <87d8od69dm.fsf@bittersweet.inetarena.com>
Lines: 55
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta14) - "Vienna"

--Multipart_Sun_Jul_20_08:17:25_1997-1
Content-Type: text/plain; charset=US-ASCII


 Is there a way to make the 'd' from `pcl-cvs' create the patch from
standing in "xemacs-20/" rather than in "xemacs-20/lisp/modes"?  Or
does it not really matter, given [Tools->Apply Patch->To a file...]?

 When (require 'whitespace-mode) is in "~/.xemacs/init.el" or
".../lisp/site-start.el", `edit-toolbar' errs with 'wrong type
argument, arrayp: nil'.  Here's a quick patch to fix it.



--Multipart_Sun_Jul_20_08:17:25_1997-1
Content-Type: text/plain; charset=US-ASCII

1997-07-20  Karl M. Hegbloom  <karlheg@inetarena.com>

	* modes/whitespace-mode.el (whitespace-toolbar-function) delete
 	the spurious nil element from the toolbar array so that
 	`edit-toolbar' will function.


--Multipart_Sun_Jul_20_08:17:25_1997-1
Content-Type: text/plain; charset=US-ASCII

=== cd /usr/local/src/xemacs-20/lisp/modes/
=== cvs -d /usr/local/cvsroot diff -u whitespace-mode.el

Index: whitespace-mode.el
===================================================================
RCS file: /usr/local/cvsroot/xemacs-20/lisp/modes/whitespace-mode.el,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 whitespace-mode.el
--- whitespace-mode.el	1997/07/14 02:56:06	1.1.1.1
+++ whitespace-mode.el	1997/07/20 14:52:59
@@ -579,7 +579,6 @@
 	 [toolbar-replace-icon  query-replace   t       "Replace text"  ]
 	 [toolbar-wspace-icon  
 	  whitespace-toolbar-function t "Toggle whitespace mode"]
-	 nil
 	 [toolbar-compile-icon  toolbar-compile t       "Compile"       ]
 	 [toolbar-debug-icon    toolbar-debug   t       "Debug"         ]
 	 [toolbar-spell-icon    toolbar-ispell  t       "Spellcheck"    ]

--Multipart_Sun_Jul_20_08:17:25_1997-1
Content-Type: text/plain; charset=US-ASCII

mailto:karlheg+sig@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133

--Multipart_Sun_Jul_20_08:17:25_1997-1--

