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: Reiner Steib
Subject: Re: Problems with `require' in recent changes
Date: Sun, 16 Dec 2007 21:51:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

On Sun, Dec 16 2007, Miles Bader wrote:

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

Yes, that would avoid multiple loads of password-cache.  So now we
have...

(if (featurep 'xemacs)
    ;; Not all XEmacs versions support `noerror' arg of `require'.
    (or (featurep 'password-cache)
        (load "password-cache" t)
        (require 'password))
  (or (require 'password-cache nil t)
      (require 'password)))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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