 
 (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)


(defun doom--reload-files (&rest files)
  (if noninteractive
      (add-hook 'doom-cli-post-execute-hook #'doom--warn-refresh-session)
    (dolist (file files)
      (load-file (byte-compile-dest-file file)))))

(defun doom--byte-compile-file (file)
  (let ((byte-compile-warnings (if doom-debug-mode byte-compile-warnings)))
    (condition-case e
        (when (byte-compile-file file)
          ;; Give autoloads file a chance to report error

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

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