emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small fix for diary-mail-entries - diary-lib.el


From: Hynek Schlawack
Subject: Small fix for diary-mail-entries - diary-lib.el
Date: Sun, 20 Apr 2003 18:01:21 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

Hi,

this tiny patch applies to the current cvs and fixes the problem of
having to setq a mail-agent like gnus on the commandline to make all
those "emacs -batch -f diary-mail-entries" work.

The problem was that in gnus mail-send-and-exit has the arg &optional
and sendmail.el not so it failed because of a wrong number of arguments.

Hope it's of any use - it's my first patch for Emacs. :) I couldn't find
anything similar in the list archives though.

Hynek

Index: lisp/calendar/diary-lib.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/calendar/diary-lib.el,v
retrieving revision 1.62
diff -r1.62 diary-lib.el
657c657
<     (funcall (get mail-user-agent 'sendfunc))))
---
>     (funcall (get mail-user-agent 'sendfunc) nil)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]