changeset 3500:78c1c1e9f4d2

(window-system): Enable menu bars only if window-system is non-nil.
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Jun 1993 17:16:39 +0000
parents 6428162f137c
children 33a309357161
files lisp/menu-bar.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Sat Jun 05 17:10:19 1993 +0000
+++ b/lisp/menu-bar.el	Sat Jun 05 17:16:39 1993 +0000
@@ -227,7 +227,8 @@
       (setq frames (cdr frames)))))
 
 ;; Make frames created from now on have a menu bar.
-(menu-bar-mode t)
+(if window-system
+    (menu-bar-mode t))
 
 (provide 'menu-bar)