]> git.eshelyaron.com Git - emacs.git/commitdiff
* message.el (message-setup-1): Prefer to save message-reply-buffer as a buffer.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 17 Jan 2010 23:49:27 +0000 (18:49 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 17 Jan 2010 23:49:27 +0000 (18:49 -0500)
lisp/gnus/ChangeLog
lisp/gnus/message.el

index e334ef972442c30c4a9ec865b0621aacf860187b..1c1c62bb1b06bf833cd7e22bbc1cf98b2a5c715c 100644 (file)
@@ -5,6 +5,7 @@
        (message-with-reply-buffer, message-widen-reply)
        (message-yank-original): Handle non-buffer values of
        message-reply-buffer (Bug#4080).
+       (message-setup-1): Prefer to save message-reply-buffer as a buffer.
 
 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
 
index c91bcd77195420e7786aad92df29634c1de08beb..7194813422abad7382220c6d0250c5c66029044e 100644 (file)
@@ -6320,7 +6320,11 @@ are not included."
     (condition-case nil
        (add-to-list 'message-send-actions
                     `(apply ',(car action) ',(cdr action)))))
-  (setq message-reply-buffer yank-action)
+  (setq message-reply-buffer
+       (if (and (consp yank-action)
+                (eq (car yank-action) 'insert-buffer))
+           (nth 1 yank-action)
+         yank-action))
   (goto-char (point-min))
   ;; Insert all the headers.
   (mail-header-format