]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-inews-do-fcc): Use gnus-output-to-rmail
authorRichard M. Stallman <rms@gnu.org>
Mon, 22 Nov 1993 06:38:28 +0000 (06:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 22 Nov 1993 06:38:28 +0000 (06:38 +0000)
if file is an rmail file.  Pass extra args to rmail-output.

lisp/gnuspost.el

index 53eac7ee2a669bc8aff55dc6ce514f69c603da57..cf7e18f57ccbdaf8d596ac462c43343252ae479d 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1989, 1990, 1993 Free Software Foundation, Inc.
 
 ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
-;; Version: $Header: gnuspost.el,v 4.1 93/07/19 15:43:46 umerin Exp $
+;; Version: $Header: /home/fsf/rms/e19/lisp/RCS/gnuspost.el,v 1.14 1993/07/20 04:25:04 rms Exp rms $
 ;; Keywords: news
 
 ;; This file is part of GNU Emacs.
@@ -591,7 +591,11 @@ a program specified by the rest of the value."
                (t
                 ;; Suggested by hyoko@flab.fujitsu.junet.
                 ;; Save article in Unix mail format by default.
-                (funcall (or gnus-author-copy-saver 'rmail-output) fcc-file)
+                (if gnus-author-copy-saver
+                    (funcall gnus-author-copy-saver fcc-file)
+                  (if (and (file-readable-p fcc-file) (rmail-file-p fcc-file))
+                      (gnus-output-to-rmail fcc-file)
+                    (rmail-output fcc-file 1 t t)))
                 ))
          )
        ))