From: Jari Aalto <jari.aalto@cante.net>
Subject: [patch] CVS 2005-08-29: gnus-msg.el::gnus-msg.el - make lambda ARG optional
Date: Mon, 29 Aug 2005 18:02:09 +0300 [thread overview]
Message-ID: <y86keqha.fsf@blue.sea.net> (raw)
Here is small change. The option can be NIL, so it can be made &optional.
It help during debugging posts, when one can do:
(funcall message-post-method)
2005-08-29 Jari Aalto <jari aalto A T cante net>
* gnus-msg.el (gnus-inews-add-send-actions): Made
`message-post-method' lambda parameter ARG `&optional'.
diff -r f5697f6e0a9d lisp/gnus-msg.el
--- a/lisp/gnus-msg.el Mon Aug 29 14:48:04 2005
+++ b/lisp/gnus-msg.el Mon Aug 29 17:58:27 2005
@@ -515,7 +515,7 @@
(gnus-make-local-hook 'message-header-hook)
(add-hook 'message-header-hook 'gnus-agent-possibly-save-gcc nil t))
(setq message-post-method
- `(lambda (arg)
+ `(lambda (&optional arg)
(gnus-post-method arg ,gnus-newsgroup-name)))
(setq message-newsreader (setq message-mailer (gnus-extended-version)))
(message-add-action
next reply other threads:[~2005-08-29 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 15:02 Jari Aalto [this message]
2005-08-30 6:07 ` Katsumi Yamaoka
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=y86keqha.fsf@blue.sea.net \
--to=jari.aalto@cante.net \
/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.
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 NNTP newsgroup(s).