Gnus development mailing list
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: Problems with `require' in recent changes
Date: Mon, 17 Dec 2007 05:22:07 +0900	[thread overview]
Message-ID: <87ejdmjspc.fsf@catnip.gol.com> (raw)
In-Reply-To: <v9bq8qh4no.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 16 Dec 2007 19:32:11 +0100")

Reiner Steib <reinersteib+gmane@imap.cc> writes:
> I have tried to add compatible calls.  Please test and feel free to
> improve it:
> (if (featurep 'xemacs)
>     (or (load "password-cache" t)
>         ;; Not all XEmacs versions support `noerror' arg of `require'.
> 	(require 'password))

Hmmm, how about replacing the

  (load "password-cache" t)

in the xemacs case with

   (or (featurep 'password-cache) (load "password-cache" t))

Sort of a "manual" require... :-/

-Miles

-- 
It wasn't the Exxon Valdez captain's driving that caused the Alaskan oil spill.
It was yours.  [Greenpeace advertisement, New York Times, 25 February 1990]

  reply	other threads:[~2007-12-16 20:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 12:04 Dave Goldberg
2007-12-12  3:12 ` Katsumi Yamaoka
2007-12-12  3:15   ` Glenn Morris
2007-12-12  5:39     ` Katsumi Yamaoka
2007-12-12 15:09       ` Stefan Monnier
2007-12-12 20:45         ` Reiner Steib
2007-12-14  0:07           ` Katsumi Yamaoka
2007-12-16 18:32             ` Reiner Steib
2007-12-16 20:22               ` Miles Bader [this message]
2007-12-16 20:51                 ` Reiner Steib
2007-12-17  2:25                   ` Glenn Morris
2007-12-17 18:44                     ` Glenn Morris
2007-12-18  0:29                       ` Katsumi Yamaoka
2007-12-28 19:34                         ` Reiner Steib
2007-12-17 21:45                   ` Dave Goldberg

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=87ejdmjspc.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.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).