[Top][All Lists]

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

Re: Speed up Emacs startup

From: Ismael Valladolid Torres
Subject: Re: Speed up Emacs startup
Date: Wed, 23 Nov 2005 09:59:57 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915

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

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

Cordially, Ismael
Dropping science like when Galileo dropped his orange

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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