[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking for nnheader-file-name-translation-alist on gnus-ems.el
From: |
Juanma Barranquero |
Subject: |
Re: Checking for nnheader-file-name-translation-alist on gnus-ems.el |
Date: |
Fri, 14 Jun 2002 17:51:33 +0200 |
On Fri, 14 Jun 2002 15:32:53 +0200 (CEST), Simon Josefsson <address@hidden>
wrote:
> gnus-ems.el found in Emacs CVS is not intended to work with several Emacs
> and XEmacs releases, I think.
It has XEmacs-specific stuff, so I suppose the intent is to be the same
as in Oort Gnus or whatever.
> But it would be better to have a generic
> solution, because the same patch will probably be applied to Oort Gnus as
> well, which IS intended to work with several Emacs and XEmacs releases.
The generic solution is even easier. See below.
Opinion from Gnus maintainer (and posibly others)?
/L/e/k/t/u
Index: gnus-ems.el
===================================================================
RCS file: /cvs/emacs/lisp/gnus/gnus-ems.el,v
retrieving revision 1.15
diff -u -3 -r1.15 gnus-ems.el
--- gnus-ems.el 12 Apr 2002 08:46:59 -0000 1.15
+++ gnus-ems.el 14 Jun 2002 15:47:39 -0000
@@ -81,6 +81,7 @@
(cond
((string-match "windows-nt\\|os/2\\|emx\\|cygwin32"
(symbol-name system-type))
+ (require 'nnheader)
(setq nnheader-file-name-translation-alist
(append nnheader-file-name-translation-alist
(mapcar (lambda (c) (cons c ?_))