diff lisp/menu-bar.el @ 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 7d9b10bea55f
children 5fb4eefbd7ac
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)