2017-03-02 22:30 GMT+01:00 Alex Kost <alez...@gmail.com>:

> 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