Subject: [PATCH] Don't create file rmail-loaddefs.el
From: Stefan Kangas <[email-masked]>
To: [email-masked]
Date: Sun, 10 Jul 2022 17:28:58 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Severity: wishlist

It seems like the rmail-loaddefs.el file is not really used for
anything?  Maybe we could just remove it, as in the attached.
From 0918c41a2f93368ea3308addbafea51f5ba08cb9 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <[email-masked]>
Date: Mon, 11 Jul 2022 01:58:56 +0200
Subject: [PATCH] Don't create unused file rmail-loaddefs.el

* lisp/mail/undigest.el: Remove 'generated-autoload-file' local
variable.
(unforward-rmail-message, undigestify-rmail-message): Don't
autoload.
---
 lisp/mail/undigest.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lisp/mail/undigest.el b/lisp/mail/undigest.el
index c6d29bc4e7..2321706f6c 100644
--- a/lisp/mail/undigest.el
+++ b/lisp/mail/undigest.el
@@ -201,7 +201,6 @@ rmail-digest-parse-rfc934
 
 (declare-function rmail-update-summary "rmailsum" (&rest ignore))
 
-;;;###autoload
 (defun undigestify-rmail-message ()
   "Break up a digest message into its constituent messages.
 Leaves original message, deleted, before the undigestified messages."
@@ -277,7 +276,6 @@ undigestify-rmail-message
 	  (set-buffer buff)
 	  (rmail-show-message current))))))
 
-;;;###autoload
 (defun unforward-rmail-message ()
   "Extract a forwarded message from the containing message.
 This puts the forwarded message into a separate rmail message following
@@ -378,8 +376,4 @@ unforward-rmail-message
 
 (provide 'undigest)
 
-;; Local Variables:
-;; generated-autoload-file: "rmail-loaddefs.el"
-;; End:
-
 ;;; undigest.el ends here
-- 
2.30.2