]> git.eshelyaron.com Git - emacs.git/commit
Ensure that gnus-summary-attach-article finds the right articles
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sat, 18 Jan 2020 19:08:11 +0000 (11:08 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sat, 18 Jan 2020 21:55:18 +0000 (13:55 -0800)
commit5118394e5be1f4ae2d74d7aee08aa2c149af790a
tree69b21bfdbbaca8d345f32941ef43883460dc6cc3
parentf3d30b5303783a307921b914d4df0b082106b39d
Ensure that gnus-summary-attach-article finds the right articles

* lisp/gnus/gnus-msg.el (gnus-summary-attach-article): Before
iterating over the articles to attach, first close any open
article. Using `set-buffer' required `gnus-summary-select-article' to
re-set the buffer every time, meaning we never got off the original
article.

(cherry picked from commit 447bb1313a6abc07776d93ee78cd976ab43856e5)
lisp/gnus/gnus-msg.el