help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: prevent function execution on Emacs startup if not connected to inte


From: John Mastro
Subject: Re: prevent function execution on Emacs startup if not connected to internet
Date: Thu, 24 Apr 2014 10:09:07 -0700

Hi Brady,

Brady Trainor <address@hidden> wrote:
> So I was able to recreate my issue. Your method worked at these
 > functions, but then the issue propagates to `require's for packages
> not installed. (Every once in a while I switch OS', and simultaneously
> am sitting down somewhere without an internet connection.)

You could make use of the optional "noerror" argument to `require'. For
instance, (require 'the-package nil t).

Of course, there will still be errors later if you try to use things
from packages that weren't loaded.

Best regards,

John


reply via email to

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