# HG changeset patch # User Richard M. Stallman <rms@gnu.org> # Date 753446847 0 # Node ID b605cd28d5961d81c0036c73720139cdcd2833a3 # Parent 26abd5d137623f7c231c0ca0ee0ac0d6c6e5a219 (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. diff -r 26abd5d13762 -r b605cd28d596 lisp/=gnus.el --- 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) )))