Commit 9e1b8ec4 authored by Glenn Morris's avatar Glenn Morris
Browse files

* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.

Fixes: debbugs:11660
parent 00cd0305
......@@ -2,6 +2,11 @@
* Version 24.1 released.
2012-06-01 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-yank-current-message):
Leave point at correct position. (Bug#11660)
2012-06-01 Chong Yidong <cyd@gnu.org>
* allout-widgets.el: Fix code header
......
......@@ -3567,7 +3567,7 @@ If BUFFER is not swapped, yank out of its message viewer buffer."
(with-current-buffer buffer
(unless (rmail-buffers-swapped-p)
(setq buffer rmail-view-buffer)))
(insert-buffer buffer)
(insert-buffer-substring buffer)
;; If they yank the text of BUFFER, the encoding of BUFFER is a
;; better default for the reply message than the default value of
;; buffer-file-coding-system.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment