Timo Juhani Lindfors <[email protected]>
writes:

> Hi,
>
> Rémi Vanicat <[email protected]> writes:
>> +    (load-theme 'magit-classic)
>
> I added your patch (with some modifications) to git and built
> preliminary packages:
>
> http://anonscm.debian.org/gitweb/?p=collab-maint/magit.git
>
> http://lindi.iki.fi/lindi/magit/debian/
>
> When I tested the package I noticed a small problem:
>
> 1) If I put the suggested "(load-theme 'magit-classic)" to ~/.emacs then
> I can only use emacs on machines where magit is installed! My $HOME is
> shared with NFS so ~/.emacs is visible on many machines where I do not
> have magit 1.1.0 or later installed. The error I get is

obviously. The same would be true if you added anything that call magit
in your .emacs.

>
> Warning (initialization): An error occurred while loading
> `/home/lindi/.emacs':
>
> File error: Cannot open load file, magit-classic-theme

(condition-case 
    (load-theme 'magit-classic)
  (error nil))

is a not very clean way to fix your problem.

-- 
Rémi Vanicat

Reply via email to