                 (print! (debug "Ignoring %s") (relpath file)))
 
                ((let ((generated-autoload-load-name (file-name-sans-extension file)))
-                  (require 'autoload)
                   (autoload-generate-file-autoloads file (current-buffer)))
                 (print! (debug "Nothing in %s") (relpath file)))
 

         (noninteractive t)
         (backup-inhibited t)
         (version-control 'never)
         (case-fold-search nil)  ; reduce magit
         (autoload-timestamps nil)

         ;; Where we'll store the files we'll scan for autoloads. This should

       ;; few marginal performance boosts)
       (print! "> Byte-compiling %s..." (relpath doom-autoload-file))
       (when (doom--byte-compile-file doom-autoload-file)
         (print! (success "Finished compiling %s") (relpath doom-autoload-file))))
     t)))


