Mercurial > emacs
changeset 76757:041eb08bbb33
(message-yank-original): Fix bug:
Don't switch point and mark unnecessarily.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Tue, 27 Mar 2007 14:12:33 +0000 |
parents | 63293afecf15 |
children | 50adcc7d5096 |
files | lisp/gnus/message.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/message.el Tue Mar 27 03:17:42 2007 +0000 +++ b/lisp/gnus/message.el Tue Mar 27 14:12:33 2007 +0000 @@ -3349,7 +3349,8 @@ (point))) (unless arg (funcall message-cite-function)) - (message-exchange-point-and-mark) + (unless (< (point) (mark-marker)) + (message-exchange-point-and-mark)) (unless (bolp) (insert ?\n)) (unless modified