[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test for presence of library
From: |
Pascal J. Bourguignon |
Subject: |
Re: test for presence of library |
Date: |
Mon, 22 Feb 2010 02:58:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) |
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__