unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: 56491@debbugs.gnu.org
Subject: bug#56491: [PATCH] Don't create file rmail-loaddefs.el
Date: Sun, 10 Jul 2022 17:28:58 -0700	[thread overview]
Message-ID: <CADwFkmmTz96_piMz4+HF0kdbKLpz03tUrnKtrssQ2mf4Gb=skw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

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.

[-- Attachment #2: 0001-Don-t-create-unused-file-rmail-loaddefs.el.patch --]
[-- Type: text/x-diff, Size: 1361 bytes --]

From 0918c41a2f93368ea3308addbafea51f5ba08cb9 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefan@marxist.se>
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))))))
 \f
-;;;###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


             reply	other threads:[~2022-07-11  0:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11  0:28 Stefan Kangas [this message]
2022-07-11  9:59 ` bug#56491: [PATCH] Don't create file rmail-loaddefs.el Lars Ingebrigtsen
2022-07-11 11:37   ` Stefan Kangas
2022-07-11 11:40     ` Lars Ingebrigtsen
2022-07-11 12:10       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmTz96_piMz4+HF0kdbKLpz03tUrnKtrssQ2mf4Gb=skw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=56491@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).