summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/mail/sendmail.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index af6a7cc1a94..f360d750c21 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2003-04-23 Richard M. Stallman <rms@gnu.org>
+ * mail/sendmail.el (mail-send-and-exit): Make arg optional.
+
* files.el (view-read-only): Doc fix.
* simple.el (back-to-indentation): Call backward-prefix-chars.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 40ef9e87228..7ce31eaeb47 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -686,7 +686,7 @@ If within the headers, this makes the new lines into continuation lines."
;; User-level commands for sending.
-(defun mail-send-and-exit (arg)
+(defun mail-send-and-exit (&optional arg)
"Send message like `mail-send', then, if no errors, exit from mail buffer.
Prefix arg means don't delete this window."
(interactive "P")