]> code.delx.au - gnu-emacs/blobdiff - lisp/mail/sendmail.el
Merge from emacs-24; up to 2012-04-24T08:35:02Z!lekktu@gmail.com
[gnu-emacs] / lisp / mail / sendmail.el
index cd3862985bd5c912aada8636e7de491c7bd6bd3d..3b262e3fb53cf9ea3d9d7235503cdc342a402dc1 100644 (file)
@@ -1678,7 +1678,8 @@ Just \\[universal-argument] as argument means don't indent, insert no prefix,
 and don't delete any header fields."
   (interactive "P")
   (and (consp mail-reply-action)
-       (eq (car mail-reply-action) 'insert-buffer)
+       (memq (car mail-reply-action)
+            '(rmail-yank-current-message insert-buffer))
        (with-current-buffer (nth 1 mail-reply-action)
         (or (mark t)
             (error "No mark set: %S" (current-buffer))))