changeset 30544:e9b3bce9cb4b

(rmail-start-mail): Use display-multi-frame-p instead of looking at window-system.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 31 Jul 2000 15:39:37 +0000
parents cae243d66bbe
children 4fc9847efaf6
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Jul 31 15:38:35 2000 +0000
+++ b/lisp/mail/rmail.el	Mon Jul 31 15:39:37 2000 +0000
@@ -2767,7 +2767,7 @@
 	(compose-mail to subject others
 		      noerase nil
 		      yank-action sendactions)
-      (if (and window-system rmail-mail-new-frame)
+      (if (and (display-multi-frame-p) rmail-mail-new-frame)
 	  (prog1
 	      (compose-mail to subject others
 			    noerase 'switch-to-buffer-other-frame