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: Miles Bader
Subject: Re: Problems with `require' in recent changes
Date: Mon, 17 Dec 2007 05:22:07 +0900

Reiner Steib <address@hidden> writes:
> I have tried to add compatible calls.  Please test and feel free to
> improve it:
> (if (featurep 'xemacs)
>     (or (load "password-cache" t)
>         ;; Not all XEmacs versions support `noerror' arg of `require'.
>       (require 'password))

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

-Miles

-- 
It wasn't the Exxon Valdez captain's driving that caused the Alaskan oil spill.
It was yours.  [Greenpeace advertisement, New York Times, 25 February 1990]




reply via email to

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