help-guix
[Top][All Lists]
Advanced

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

Re: Emacs autoloads


From: Catonano
Subject: Re: Emacs autoloads
Date: Fri, 3 Mar 2017 00:49:44 +0100

2017-03-02 22:30 GMT+01:00 Alex Kost <address@hidden>:
Catonano (2017-03-02 12:51 +0100) wrote:

> I installed emacs-debbugs
>
> But it doesn't get autoloaded

It does!  You probably think that all functions and variables are
autoloaded, but it's not the case.  Autoloads are generated only for
those symbols (usually interactive commands) that have ";;;###autoload"
cookies.  For example, look at "M-x find-library debbugs-gnu" and search
for ";;;###autoload" there.

> 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

Yes, because this variable is void indeed when your emacs config is
loaded.  Wrap such configurations of external Emacs packages inside
'with-eval-after-load' as Thomas suggested.

Thanks so much for clarifying, Alex


reply via email to

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