emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107842: * mail/sendmail.el (mail-


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107842: * mail/sendmail.el (mail-bury): Call return action with the right Rmail buffer.
Date: Mon, 16 Apr 2012 18:11:45 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107842
fixes bug(s): http://debbugs.gnu.org/11242
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Mon 2012-04-16 18:11:45 +0800
message:
  * mail/sendmail.el (mail-bury): Call return action with the right Rmail 
buffer.
modified:
  lisp/ChangeLog
  lisp/mail/sendmail.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-04-15 08:49:24 +0000
+++ b/lisp/ChangeLog    2012-04-16 10:11:45 +0000
@@ -1,3 +1,8 @@
+2012-04-16  Chong Yidong  <address@hidden>
+
+       * mail/sendmail.el (mail-bury): Call return action with the right
+       Rmail buffer (Bug#11242).
+
 2012-04-15  Chong Yidong  <address@hidden>
 
        * server.el (server-process-filter): Handle corner case where both

=== modified file 'lisp/mail/sendmail.el'
--- a/lisp/mail/sendmail.el     2012-04-03 10:21:47 +0000
+++ b/lisp/mail/sendmail.el     2012-04-16 10:11:45 +0000
@@ -864,7 +864,7 @@
     (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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]