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

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

Re: Speed up Emacs startup


From: Jason Rumney
Subject: Re: Speed up Emacs startup
Date: Thu, 24 Nov 2005 10:03:41 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Ismael Valladolid Torres <ismaeval@free.fr> writes:

Sébastien Vauban wrote:

I've completely avoided that problem by using a `try-require'
function: if the package is not installed, it'll just go on as
if nothing happened.

Why not just using locate-library to require the package only if it's
installed and locatable? There are plenty of sentences like this in my
.emacs:

(when (locate-library "muttrc")
  (require 'muttrc))

Why not just use the optional third argument to require?

(require 'muttrc nil t)


reply via email to

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