Commit 4fc2c72a authored by Chong Yidong's avatar Chong Yidong
Browse files

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

Fixes: debbugs:11242
parent 4f5d565f
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
......
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment