From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: No directory-files-and-attributes in XEmacs (was Re: CVS update of gnus/lisp (gnus-agent.el))
Date: Fri, 10 Sep 2004 10:28:58 +0900 [thread overview]
Message-ID: <b9yvfemc3ol.fsf_-_@jpl.org> (raw)
In-Reply-To: <E1C5Yf1-0000gc-00@quimby.gnus.org>
>>>>> In <E1C5Yf1-0000gc-00@quimby.gnus.org> Kevin Greiner wrote:
> Date: Friday, September 10, 2004 @ 01:49:03
> Author: cvs
> Path: /usr/local/cvsroot/gnus/lisp
> Modified: gnus-agent.el
> * gnus-agent.el (gnus-agent-cat-groups): rewrote avoiding defsetf
> to avoid run-time CL dependencies.
[...]
> (gnus-agent-update-files-total-fetched-for): Use
> directory-files-and-attributes to improve performance.
Unfortunately, XEmacs complained about it as follows:
While compiling the end of the data in file gnus/lisp/gnus-agent.el:
** the function directory-files-and-attributes is not known to be defined.
It is indeed not available in XEmacs. How about adding
something like the following?
(eval-and-compile
(unless (fboundp 'directory-files-and-attributes)
(defun directory-files-and-attributes (directory
&optional full match nosort)
(let (result)
(dolist (file (directory-files directory full match nosort))
(push (cons file (file-attributes file)) result))
(nreverse result)))))
next parent reply other threads:[~2004-09-10 1:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1C5Yf1-0000gc-00@quimby.gnus.org>
2004-09-10 1:28 ` Katsumi Yamaoka [this message]
2004-09-10 3:15 ` No directory-files-and-attributes in XEmacs Kevin Greiner
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=b9yvfemc3ol.fsf_-_@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.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).