(gnus-inews-yank-articles): Fix bug: After

message-yank-original, make sure (< mark TEXT point).
This commit is contained in:
Thien-Thi Nguyen 2007-04-03 23:25:47 +00:00
parent d2b3c7dbb8
commit c345112ee1
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-04-03 Thien-Thi Nguyen <ttn@gnu.org>
* gnus-msg.el (gnus-inews-yank-articles): Fix bug: After
message-yank-original, make sure (< mark TEXT point).
2007-03-31 Reiner Steib <Reiner.Steib@gmx.de>
* nnmail.el (nnmail-spool-file): Mark as obsolete.

View file

@ -771,6 +771,7 @@ active, the entire article will be yanked."
(nnheader-narrow-to-headers)
(nnheader-parse-naked-head)))))
(message-yank-original)
(exchange-point-and-mark) ; so that (< mark TEXT point)
(setq beg (or beg (mark t))))
(when articles
(insert "\n")))