[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:31:56 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Thomas Danckaert (2017-03-02 14:13 +0100) wrote:

> From: Catonano <address@hidden>
> Subject: Emacs autoloads
> Date: Thu, 2 Mar 2017 12:51:13 +0100
>> 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
> I had the same issue, solved it using “with-eval-after-load”, like this:

This is not the issue, it is expected (see my answer to Catonano), and
'with-eval-after-load' is exactly what should be used in such cases.

> (with-eval-after-load 'debbugs-gnu
>   (add-to-list 'debbugs-gnu-all-packages "guix-patches"))
> In fact I sent a message to guix-devel about this, but it never made it
> through...


reply via email to

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