all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Problems with `require' in recent changes
Date: Sun, 16 Dec 2007 21:51:29 +0100	[thread overview]
Message-ID: <v9k5nefjn2.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87ejdmjspc.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 17 Dec 2007 05:22:07 +0900")

On Sun, Dec 16 2007, Miles Bader wrote:

> 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... :-/

Yes, that would avoid multiple loads of password-cache.  So now we
have...

(if (featurep 'xemacs)
    ;; Not all XEmacs versions support `noerror' arg of `require'.
    (or (featurep 'password-cache)
	(load "password-cache" t)
	(require 'password))
  (or (require 'password-cache nil t)
      (require 'password)))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <84ejdtxwsg.fsf@incoming.verizon.net>
2007-12-12  3:12 ` Problems with `require' in recent changes 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
2007-12-16 20:51                 ` Reiner Steib [this message]
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

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=v9k5nefjn2.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.