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.

-- 
Alex

Reply via email to