Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] XEmacs only has 4 args to 'load'.
@ 2003-04-05  8:36 Steve Youngs
  0 siblings, 0 replies; only message in thread
From: Steve Youngs @ 2003-04-05  8:36 UTC (permalink / raw)


I've wrapped this in a '(if (featurep 'xemacs)...)', just in case
there was a good reason for that 5th arg in GNU/Emacs. :-)

NOTE: This patch has been committed.

Gnus patch:
ChangeLog files diff command: cvs -q diff -U 0
Files affected:               lisp/ChangeLog
Source files diff command:    cvs -q diff -uN
Files affected:               lisp/gnus-sum.el

Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 6.2187
diff -u -U0 -r6.2187 ChangeLog
--- lisp/ChangeLog	5 Apr 2003 05:40:29 -0000	6.2187
+++ lisp/ChangeLog	5 Apr 2003 08:27:31 -0000
@@ -0,0 +1,5 @@
+2003-04-05  Steve Youngs  <youngs@xemacs.org>
+
+	* gnus-sum.el: XEmacs doesn't support the 5th arg to 'load', so
+	don't use it when loading gnus-sum.el if we're in XEmacs.
+
Index: lisp/gnus-sum.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v
retrieving revision 6.327
diff -u -u -r6.327 gnus-sum.el
--- lisp/gnus-sum.el	4 Apr 2003 04:15:32 -0000	6.327
+++ lisp/gnus-sum.el	5 Apr 2003 08:26:29 -0000
@@ -1395,7 +1395,9 @@
     ;; source file.
     (if (boundp 'gnus-newsgroup-variables)
         nil
-      (load "gnus-sum.el" t t t t))
+      (if (featurep 'xemacs)
+	  (load "gnus-sum.el" t t t)
+	(load "gnus-sum.el" t t t t)))
     (require 'gnus)
     (require 'gnus-agent)
     (require 'gnus-art)))

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs@xemacs.org>---|




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-05  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-05  8:36 [PATCH] XEmacs only has 4 args to 'load' Steve Youngs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).