emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with `require' in recent changes


From: Katsumi Yamaoka
Subject: Re: Problems with `require' in recent changes
Date: Tue, 18 Dec 2007 09:29:55 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

>>>>> Glenn Morris wrote:
> 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))

Those and the one in CVS are all okay for XEmacs.
If anything I like the last one. :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]