[Top][All Lists]

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

Re: Emacs autoloads

From: Alex Kost
Subject: Re: Emacs autoloads
Date: Fri, 03 Mar 2017 00:33:40 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Federico Beffa (2017-03-02 14:35 +0100) wrote:

> Catonano <address@hidden> writes:
>> I installed emacs-debbugs
>> But it doesn't get autoloaded, so I had to comment out this line in my 
>> .emacs file
>> (add-to-list 'debbugs-gnu-all-packages "guix-patches")
>> because otherwise when launching emacs it claims that 
>> "debbugs-gnu-all-packages" value is void
> If you put this
> (require 'debbugs-gnu)
> before '(add-to-list ...)' is should work.

No, no, do not require packages if you can avoid it!  This will really
slow emacs start time.  Well, of course, you are free to do whatever you
want, but I just can't see all the useless "require"s people have in
their configs.

Instead you can use 'with-eval-after-load' or 'eval-after-load' or
'use-package' <>.


reply via email to

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