From: peder@news.klingenberg.no (Peder O. Klingenberg)
To: emacs-devel@gnu.org
Subject: Re: Small patch to emacsbug.el
Date: Tue, 28 Oct 2014 20:56:06 +0100 [thread overview]
Message-ID: <ksk33kezop.fsf@netfonds.no> (raw)
In-Reply-To: 83h9yo2mr0.fsf@gnu.org
On Tue, Oct 28 2014 at 18:16, Eli Zaretskii wrote:
> What if the user overrides that default, and uses a different mail
> mode?
Then I guess that user will have some unused functions loaded, as well
as some variables defined that she has no use for? I was basically just
cargo-culting the existing code.
Existing code in emacsbug.el has
;; It's the default mail mode, so it seems OK to use its features.
(autoload 'message-bogus-recipient-p "message")
(defvar message-send-mail-function)
I just added one more function and one more variable, and moved the
whole bunch, including comment, earlier in the file, because I used
those functions earlier in the file and thought it logical to place the
definitions before the uses.
Autoload of one function causes the entire file to be loaded, does it
not? So my additions are more for documentation purposes than any
actual functional change.
...Peder...
--
I wish a new life awaited _me_ in some off-world colony.
prev parent reply other threads:[~2014-10-28 19:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 13:49 Small patch to emacsbug.el Peder O. Klingenberg
2014-10-28 16:16 ` Eli Zaretskii
2014-10-28 19:56 ` Peder O. Klingenberg [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ksk33kezop.fsf@netfonds.no \
--to=peder@news.klingenberg.no \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.