(gnus-inews-do-gcc): Guard `coding-system-for-write' by `raw-text';
authormorioka <morioka>
Thu, 27 Nov 1997 08:52:19 +0000 (08:52 +0000)
committermorioka <morioka>
Thu, 27 Nov 1997 08:52:19 +0000 (08:52 +0000)
run `gnus-before-do-gcc-hook'.

lisp/gnus-msg.el

index e7534f3..0272695 100644 (file)
@@ -920,6 +920,7 @@ this is a reply."
        (message-narrow-to-headers)
        (let ((gcc (or gcc (mail-fetch-field "gcc" nil t)))
              (cur (current-buffer))
+             (coding-system-for-write 'raw-text)
              groups group method)
          (when gcc
            (message-remove-header "gcc")
@@ -948,6 +949,7 @@ this is a reply."
              (save-excursion
                (nnheader-set-temp-buffer " *acc*")
                (insert-buffer-substring cur)
+               (run-hooks 'gnus-before-do-gcc-hook)
                (goto-char (point-min))
                (when (re-search-forward
                       (concat "^" (regexp-quote mail-header-separator) "$")