From: Glenn Morris <rgm@gnu.org>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: Problems with `require' in recent changes
Date: Mon, 17 Dec 2007 13:44:02 -0500 [thread overview]
Message-ID: <gf7ijd9n65.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <shfxy2dplm.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 16 Dec 2007 21:25:41 -0500")
Glenn Morris wrote:
> (or
> (condition-case nil
> (require 'password-cache)
> (file-error nil))
> (require 'password))
Or even shorter:
(if (locate-library "password-cache")
(require 'password-cache)
(require 'password))
next prev parent reply other threads:[~2007-12-17 18:44 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
2007-12-16 20:51 ` Reiner Steib
2007-12-17 2:25 ` Glenn Morris
2007-12-17 18:44 ` Glenn Morris [this message]
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=gf7ijd9n65.fsf@fencepost.gnu.org \
--to=rgm@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).