diff options
| author | Thierry Volpiatto | 2012-03-04 22:19:10 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-03-04 22:19:10 +0000 |
| commit | ee30fbcdd3813fef35f401702c9fbedfdf837397 (patch) | |
| tree | 862798977d55591fd69b35b2a77b4226f7791e0a | |
| parent | f20f95c65cb948ce2b7ff667831dc64471d001fa (diff) | |
| download | emacs-ee30fbcdd3813fef35f401702c9fbedfdf837397.tar.gz emacs-ee30fbcdd3813fef35f401702c9fbedfdf837397.zip | |
gnus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus isn't running (bug#10897).
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-msg.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5b9ffc07d1c..a4c1513926d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-03-04 Thierry Volpiatto <thierry.volpiatto@gmail.com> | ||
| 2 | |||
| 3 | * gnus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus | ||
| 4 | isn't running (bug#10897). | ||
| 5 | |||
| 1 | 2012-02-25 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2012-02-25 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * shr.el (shr-column-specs): Protect against TDs with "width: 0%". | 8 | * shr.el (shr-column-specs): Protect against TDs with "width: 0%". |
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index bf75f94c195..7c8d194f26b 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el | |||
| @@ -478,7 +478,8 @@ Thank you for your help in stamping out bugs. | |||
| 478 | 478 | ||
| 479 | ;;;###autoload | 479 | ;;;###autoload |
| 480 | (defun gnus-msg-mail (&optional to subject other-headers continue | 480 | (defun gnus-msg-mail (&optional to subject other-headers continue |
| 481 | switch-action yank-action send-actions return-action) | 481 | switch-action yank-action send-actions |
| 482 | return-action) | ||
| 482 | "Start editing a mail message to be sent. | 483 | "Start editing a mail message to be sent. |
| 483 | Like `message-mail', but with Gnus paraphernalia, particularly the | 484 | Like `message-mail', but with Gnus paraphernalia, particularly the |
| 484 | Gcc: header for archiving purposes. | 485 | Gcc: header for archiving purposes. |
| @@ -486,7 +487,8 @@ If Gnus isn't running, a plain `message-mail' setup is used | |||
| 486 | instead." | 487 | instead." |
| 487 | (interactive) | 488 | (interactive) |
| 488 | (if (not (gnus-alive-p)) | 489 | (if (not (gnus-alive-p)) |
| 489 | (message-mail) | 490 | (message-mail to subject other-headers continue |
| 491 | nil yank-action send-actions return-action) | ||
| 490 | (let ((buf (current-buffer)) | 492 | (let ((buf (current-buffer)) |
| 491 | mail-buf) | 493 | mail-buf) |
| 492 | (gnus-setup-message 'message | 494 | (gnus-setup-message 'message |