summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2007-04-03 23:24:22 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2007-04-03 23:24:22 +0000
commita7b1956c80eefd3feaee4e6702af7447f5eae8dd (patch)
tree1f45a8f480fa242548c11cf053cd33f9862a5aec
parentbde21f6441970844e0766009c211caef33468641 (diff)
downloademacs-a7b1956c80eefd3feaee4e6702af7447f5eae8dd.tar.gz
(gnus-inews-yank-articles): Fix bug: After
message-yank-original, make sure (< mark TEXT point).
-rw-r--r--lisp/gnus/gnus-msg.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index aaf30700e3d..2e9975f4876 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -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")))