Hello Noam, Noam Postavsky writes: > Maxim Cournoyer writes: > >> (defun update-directory-autoloads (&rest dirs) >> >> I don't see how &key can be combined with &rest without potentially >> causing problems. > > You can check if the first arg is a keyword like > :generated-autoload-file (which can't be a directory, since it's not a > string), and if it is, then handle the second arg specially. I've given this idea a try with the attached patch. For some reason I can't seem to simply eval the definition to test it (Debugger entered--Lisp error: (void-function byte-compile-info-string). I'm rebuilding Emacs with the change right now. Consider it untested for now.