From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: test for presence of library
Date: Mon, 22 Feb 2010 02:58:59 +0100 [thread overview]
Message-ID: <87fx4u6nfg.fsf@galatea.lan.informatimago.com> (raw)
In-Reply-To: slrnho35vq.493.oudeis@nephthys.thalatta.eme
Will Parsons <oudeis@nodomain.invalid> writes:
> That's a pretty strong statement. I use constructions like this in my Emacs
> initialization file:
>
> (when (locate-library "some-library")
> (require 'some-library)
>
> Why not use the NOERROR argument to require? Because it doesn't exist in the
> XEmacs version of require, and although I don't use XEmacs a lot, it's nice
> to keep my initialization file compatible between the two versions.
Yes. Xemacs is broken and makes you write broken code. I'm happy having
decided several years ago not to support it in my ~/.emacs files...
--
__Pascal Bourguignon__
next prev parent reply other threads:[~2010-02-22 1:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1463.1266533787.14305.help-gnu-emacs@gnu.org>
2010-02-19 1:09 ` test for presence of library Pascal J. Bourguignon
2010-02-19 22:19 ` Harry Putnam
2010-02-19 23:12 ` Dirk-Jan C. Binnema
[not found] ` <mailman.1516.1266618008.14305.help-gnu-emacs@gnu.org>
2010-02-20 1:09 ` Tim X
2010-02-20 9:54 ` Pascal J. Bourguignon
[not found] ` <slrnho35vq.493.oudeis@nephthys.thalatta.eme>
2010-02-22 1:58 ` Pascal J. Bourguignon [this message]
2010-02-25 18:59 ` Harry Putnam
[not found] ` <mailman.1877.1267124412.14305.help-gnu-emacs@gnu.org>
2010-02-25 20:17 ` Pascal J. Bourguignon
2010-02-26 20:21 ` Harry Putnam
2010-02-18 22:56 Harry Putnam
2010-02-18 23:10 ` Lennart Borgman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fx4u6nfg.fsf@galatea.lan.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).