* [patch] CVS 2005-08-29: gnus-msg.el::gnus-msg.el - make lambda ARG optional
@ 2005-08-29 15:02 Jari Aalto
2005-08-30 6:07 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto @ 2005-08-29 15:02 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] CVS 2005-08-29: gnus-msg.el::gnus-msg.el - make lambda ARG optional
2005-08-29 15:02 [patch] CVS 2005-08-29: gnus-msg.el::gnus-msg.el - make lambda ARG optional Jari Aalto
@ 2005-08-30 6:07 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2005-08-30 6:07 UTC (permalink / raw)
>>>>> In <y86keqha.fsf@blue.sea.net> Jari Aalto wrote:
> 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'.
I've applied the patch. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-30 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29 15:02 [patch] CVS 2005-08-29: gnus-msg.el::gnus-msg.el - make lambda ARG optional Jari Aalto
2005-08-30 6:07 ` Katsumi Yamaoka
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).