Thomas Danckaert (2017-03-02 14:13 +0100) wrote: > From: Catonano <caton...@gmail.com> > 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... -- Alex