Mercurial > emacs
changeset 5052:b605cd28d596
(gnus-summary-save-in-mail): Don't use rmail-output.
Instead, use either gnus-output-to-rmail or gnus-output-to-file.
Expand filename before use.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 16 Nov 1993 10:47:27 +0000 |
parents | 26abd5d13762 |
children | b98e742f0b05 |
files | lisp/=gnus.el |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/=gnus.el Tue Nov 16 10:44:47 1993 +0000 +++ b/lisp/=gnus.el Tue Nov 16 10:47:27 1993 +0000 @@ -2,7 +2,7 @@ ;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> -;; Version: $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.27 1993/08/10 04:14:17 eggert Exp rms $ +;; Version: $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.28 1993/11/15 01:06:24 rms Exp rms $ ;; Keywords: news ;; This file is part of GNU Emacs. @@ -3824,8 +3824,14 @@ ") ") (file-name-directory default-name) default-name))) + (setq filename + (expand-file-name filename + (and default-name + (file-name-directory default-name)))) (gnus-make-directory (file-name-directory filename)) - (rmail-output filename 1 t t) + (if (and (file-readable-p filename) (rmail-file-p filename)) + (gnus-output-to-rmail filename) + (gnus-output-to-file filename)) ;; Remember the directory name to save articles. (setq gnus-newsgroup-last-mail filename) )))