]> git.eshelyaron.com Git - emacs.git/commit
Fix returning to original TTY frame after 'rmail-reply'
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jul 2024 07:32:39 +0000 (10:32 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:16:55 +0000 (15:16 +0200)
commit131db505304e84eebfe8b604b39d1c31c1ac3fd9
tree6f83ab0ecefb567d50916214b6b9e59a4d01238f
parent4ab195df11afb66253aea8825e9185c25e90c428
Fix returning to original TTY frame after 'rmail-reply'

* lisp/mail/rmail.el (rmail-start-mail): Record the frame from
which an Rmail command, such as 'rmail-mail' or 'rmail-reply', was
invoked.
(rmail--find-orig-rmail-frame): New function.
(rmail-mail-return): Use 'rmail--find-orig-rmail-frame' to find
the original frame, and make it the top frame on its TTY terminal.
(Bug#69738)

(cherry picked from commit 1b5cf29431a0727329d5e223be68ea2499d872ea)
lisp/mail/rmail.el