Add hook to allow custom hook to run when yanking original message
authorChris Hanson <org/chris-hanson/cph>
Thu, 8 Jun 2000 18:52:59 +0000 (18:52 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 8 Jun 2000 18:52:59 +0000 (18:52 +0000)
into reply buffer.

v7/src/edwin/sendmail.scm

index 7cceef35e2da06a9a647853113111168958d30f3..0918055e8b138882f196ff2a6e991fe0a40d33e2 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: sendmail.scm,v 1.48 2000/06/08 18:26:52 cph Exp $
+;;; $Id: sendmail.scm,v 1.49 2000/06/08 18:52:59 cph Exp $
 ;;;
 ;;; Copyright (c) 1991-2000 Massachusetts Institute of Technology
 ;;;
@@ -535,7 +535,7 @@ and don't delete any header fields."
                                   'MAIL-YANK-ORIGINAL-METHOD
                                   #f)))
                  (if method
-                     (method mail-reply-buffer start)
+                     (method mail-reply-buffer end)
                      (insert-region (buffer-start mail-reply-buffer)
                                     (buffer-end mail-reply-buffer)
                                     start)))