I have installed number of packages using elpa, and wanted to appropriately generate autoloads for them. To that end, i added to my init file:
(apply 'update-directory-autoloads (directory-files package-user-dir t "[^\.].*"))
However, i get failures with the following backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil "/build/buildd/emacs24-24.3+1/debian/build-x/lisp")
autoload-generated-file()
autoload-find-generated-file()
update-directory-autoloads("/home/survivor/.emacs.d/elpa/ahg-20140818.130")
eval((update-directory-autoloads "/home/survivor/.emacs.d/elpa/ahg-20140818.130") nil)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
Is the way i am trying to do this wrong? Should i just put require
for every of my packages?