1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.

Fixes: debbugs:11242
This commit is contained in:
Chong Yidong 2012-04-16 18:11:45 +08:00
parent 4f5d565ff3
commit 4fc2c72a6f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-16 Chong Yidong <cyd@gnu.org>
* mail/sendmail.el (mail-bury): Call return action with the right
Rmail buffer (Bug#11242).
2012-04-15 Chong Yidong <cyd@gnu.org>
* server.el (server-process-filter): Handle corner case where both

View File

@ -864,7 +864,7 @@ Prefix arg means don't delete this window."
(unless return-action
(dolist (buffer (buffer-list))
(if (eq (buffer-local-value 'major-mode buffer) 'rmail-mode)
(setq return-action `(rmail-mail-return ,newbuf)))))
(setq return-action `(rmail-mail-return ,buffer)))))
(if (and (null arg) return-action)
(apply (car return-action) (cdr return-action))
(switch-to-buffer newbuf))))