]> git.eshelyaron.com Git - emacs.git/commit
Fix logic for returning to and yanking from Rmail buffer.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Apr 2012 19:17:59 +0000 (12:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Apr 2012 19:17:59 +0000 (12:17 -0700)
commit4b932ea214c5293ce71abf51e6b09c74eea532ce
treee49f590473166e1cbad7222a797e50d7acc52f67
parent24c51a09d6150ca56383a091fc945210ff3fe673
Fix logic for returning to and yanking from Rmail buffer.

* mail/rmail.el (rmail-start-mail):
Pass (rmail-mail-return...) for the return-action.
Pass (rmail-yank-current-message...) for the yank-action.
(rmail-yank-current-message): New function.
(rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
(rmail-reply): Likewise.
(rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.

* mail/sendmail.el (mail-bury): Choose the first rmail-mode
buffer, not the last.  Reject temp buffers.  Use the rmail-mode
buffer, not newbuf.
lisp/ChangeLog
lisp/mail/rmail.el
lisp/mail/sendmail.el