summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-04-24 02:00:09 +0000
committerRichard M. Stallman <rms@gnu.org>2003-04-24 02:00:09 +0000
commit2c1e2995e548446bb2afe55d1c735cc5e8153a08 (patch)
tree4b052779b01f66924201c743385529ca982ece58
parent4c91443d0706f5a73776f8ae72a49a15d319be6a (diff)
downloademacs-2c1e2995e548446bb2afe55d1c735cc5e8153a08.tar.gz
emacs-2c1e2995e548446bb2afe55d1c735cc5e8153a08.tar.bz2
emacs-2c1e2995e548446bb2afe55d1c735cc5e8153a08.zip
(mail-send-and-exit): Make arg optional.
-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")