changeset 4969:af6f961194ce

(rmail-start-mail): Don't do other frame unless we have a window system, irregardless of the state of rmail-mail-new-frame.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Nov 1993 20:51:02 +0000
parents 1607732e7712
children f27254ec443e
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Wed Nov 10 20:48:04 1993 +0000
+++ b/lisp/mail/rmail.el	Wed Nov 10 20:51:02 1993 +0000
@@ -1676,7 +1676,7 @@
 ;;;; *** Rmail Mailing Commands ***
 
 (defun rmail-start-mail (&rest args)
-  (if rmail-mail-new-frame
+  (if (and window-system rmail-mail-new-frame)
       (prog1
 	(apply 'mail-other-frame args)
 	(modify-frame-parameters (selected-frame)