diff options
| author | Sam Steingold | 2013-03-18 13:25:15 -0400 |
|---|---|---|
| committer | Sam Steingold | 2013-03-18 13:25:15 -0400 |
| commit | a22b4ca1402f60eca2d86f92e44bde4fb03bbd89 (patch) | |
| tree | a80ee8f679847bd01c9434e81837dd6744d169cd | |
| parent | e477dbfa64d70307f0221f7bb7abb8dabd5aad50 (diff) | |
| download | emacs-a22b4ca1402f60eca2d86f92e44bde4fb03bbd89.tar.gz emacs-a22b4ca1402f60eca2d86f92e44bde4fb03bbd89.zip | |
* lisp/gnus/message.el (message-bury): Minor cleanup.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 870164023d5..c0cf9472dd8 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-03-18 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * message.el (message-bury): Minor cleanup. | ||
| 4 | |||
| 1 | 2013-03-06 Katsumi Yamaoka <yamaoka@jpl.org> | 5 | 2013-03-06 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 6 | ||
| 3 | * nndir.el (nndir-request-list): Remove 2nd argument passed to | 7 | * nndir.el (nndir-request-list): Remove 2nd argument passed to |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index a6638097b47..2b2a0a94413 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -4097,11 +4097,9 @@ Instead, just auto-save the buffer and then bury it." | |||
| 4097 | 4097 | ||
| 4098 | (defun message-bury (buffer) | 4098 | (defun message-bury (buffer) |
| 4099 | "Bury this mail BUFFER." | 4099 | "Bury this mail BUFFER." |
| 4100 | (if message-return-action | 4100 | (bury-buffer buffer) |
| 4101 | (progn | 4101 | (when message-return-action |
| 4102 | (bury-buffer buffer) | 4102 | (apply (car message-return-action) (cdr message-return-action)))) |
| 4103 | (apply (car message-return-action) (cdr message-return-action))) | ||
| 4104 | (with-current-buffer buffer (bury-buffer)))) | ||
| 4105 | 4103 | ||
| 4106 | (defun message-send (&optional arg) | 4104 | (defun message-send (&optional arg) |
| 4107 | "Send the message in the current buffer. | 4105 | "Send the message in the current buffer. |