aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnuspost.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-22 06:38:28 +0000
committerRichard M. Stallman <[email protected]>1993-11-22 06:38:28 +0000
commit49132687e709a70af89b8f53cedb1ce20e7184c9 (patch)
treeb15d7b099d5b99e474d0bf73122b7503f1254555 /lisp/gnuspost.el
parent52320897b41eac2de0ed4d3b00e95cb702aa1fb1 (diff)
(gnus-inews-do-fcc): Use gnus-output-to-rmail
if file is an rmail file. Pass extra args to rmail-output.
Diffstat (limited to 'lisp/gnuspost.el')
-rw-r--r--lisp/gnuspost.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnuspost.el b/lisp/gnuspost.el
index 53eac7ee2a..cf7e18f57c 100644
--- a/lisp/gnuspost.el
+++ b/lisp/gnuspost.el
@@ -3,7 +3,7 @@
;; Copyright (C) 1989, 1990, 1993 Free Software Foundation, Inc.
;; Author: Masanobu UMEDA <[email protected]>
-;; 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 [email protected].
;; 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)))
))
)
))