]> 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 19:08:11 +0000 (11:08 -0800)
commit447bb1313a6abc07776d93ee78cd976ab43856e5
tree9b52c4d9ac00cd0e98233b995bdacec0c038f2ef
parenta4610c3dca09c526d7ca0647fe4a2abd08d081e7
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.
lisp/gnus/gnus-msg.el