Gnus development mailing list
 help / color / mirror / Atom feed
From: Steve Youngs <youngs@xemacs.org>
Subject: [PATCH] XEmacs only has 4 args to 'load'.
Date: Sat, 05 Apr 2003 18:36:44 +1000	[thread overview]
Message-ID: <microsoft-free.87r88huyqr.fsf@eicq.dnsalias.org> (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>---|




                 reply	other threads:[~2003-04-05  8:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=microsoft-free.87r88huyqr.fsf@eicq.dnsalias.org \
    --to=youngs@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).