emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108030: * mail/rmail.el (rmail-ya


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108030: * mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
Date: Sat, 09 Jun 2012 21:37:41 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108030
fixes bug: http://debbugs.gnu.org/11660
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Sat 2012-06-09 21:37:41 -0700
message:
  * mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
modified:
  lisp/ChangeLog
  lisp/mail/rmail.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-06-07 14:30:54 +0000
+++ b/lisp/ChangeLog    2012-06-10 04:37:41 +0000
@@ -2,6 +2,11 @@
 
        * Version 24.1 released.
 
+2012-06-01  Glenn Morris  <address@hidden>
+
+       * mail/rmail.el (rmail-yank-current-message):
+       Leave point at correct position.  (Bug#11660)
+
 2012-06-01  Chong Yidong  <address@hidden>
 
        * allout-widgets.el: Fix code header

=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2012-05-04 11:17:28 +0000
+++ b/lisp/mail/rmail.el        2012-06-10 04:37:41 +0000
@@ -3567,7 +3567,7 @@
   (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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]