 
 (defun doom--generate-header (func)
   (goto-char (point-min))
-  (insert ";; -*- lexical-binding:t; byte-compile-dynamic-docstrings: t; -*-\n"
+  (insert ";; -*- lexical-binding:t; -*-\n"
           ";; This file is autogenerated by `" (symbol-name func) "', DO NOT EDIT !!\n\n"))
 
 (defun doom--generate-autoloads (targets)

    (ignore-errors (delete-file (byte-compile-dest-file file)))
    t))

(defun doom--warn-refresh-session ()
  (message "Restart or reload Doom Emacs for changes to take effect:\n")
  (message "  M-x doom/restart-and-restore")
  (message "  M-x doom/restart")

                nil t))
      ((debug error)
       (let ((backup-file (concat file ".bk")))
         (print! (warn "Copied backup to %s") (relpath backup-file))
         (copy-file file backup-file 'overwrite))
       (doom-delete-autoloads-file file)
       (signal 'doom-autoload-error (list file e))))))
