diff options
| author | Thierry Volpiatto | 2013-05-04 15:34:19 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-05-04 15:34:19 -0400 |
| commit | 998768afd27ecfc8bea7549a84208e0fe204d33b (patch) | |
| tree | b3e472511655a12a7e1e40bb46e9f8fa829e212b | |
| parent | 30c7e54299fc81cd3122a17ef130ab69e9855f99 (diff) | |
| download | emacs-998768afd27ecfc8bea7549a84208e0fe204d33b.tar.gz emacs-998768afd27ecfc8bea7549a84208e0fe204d33b.zip | |
* lisp/gnus/message.el (message-bury): Make `buffer' optional.
(message-send-and-exit): Don't pass `buf' so as to hide the buffer.
Fixes: debbugs:14085
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 1221f163cba..bca0933437d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-05-04 Thierry Volpiatto <thierry.volpiatto@gmail.com> | ||
| 2 | |||
| 3 | * message.el (message-bury): Make `buffer' optional. | ||
| 4 | (message-send-and-exit): Don't pass `buf' so as to hide the buffer | ||
| 5 | (bug#14085). | ||
| 6 | |||
| 1 | 2013-05-01 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2013-05-01 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs. | 9 | * gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index a6638097b47..ad077b4da23 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -4047,7 +4047,7 @@ It should typically alter the sending method in some way or other." | |||
| 4047 | (actions message-exit-actions)) | 4047 | (actions message-exit-actions)) |
| 4048 | (when (and (message-send arg) | 4048 | (when (and (message-send arg) |
| 4049 | (buffer-name buf)) | 4049 | (buffer-name buf)) |
| 4050 | (message-bury buf) | 4050 | (message-bury) |
| 4051 | (if message-kill-buffer-on-exit | 4051 | (if message-kill-buffer-on-exit |
| 4052 | (kill-buffer buf)) | 4052 | (kill-buffer buf)) |
| 4053 | (message-do-actions actions) | 4053 | (message-do-actions actions) |
| @@ -4095,7 +4095,7 @@ Instead, just auto-save the buffer and then bury it." | |||
| 4095 | (message-disassociate-draft))) | 4095 | (message-disassociate-draft))) |
| 4096 | (message-do-actions actions)))) | 4096 | (message-do-actions actions)))) |
| 4097 | 4097 | ||
| 4098 | (defun message-bury (buffer) | 4098 | (defun message-bury (&optional buffer) |
| 4099 | "Bury this mail BUFFER." | 4099 | "Bury this mail BUFFER." |
| 4100 | (if message-return-action | 4100 | (if message-return-action |
| 4101 | (progn | 4101 | (progn |