changeset 13430:abcf51439209

[win32] (normal-top-level, command-line, command-line-1): Test for 'win32 window system as well as 'x.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 07 Nov 1995 07:47:22 +0000
parents a90a9820c5f6
children 5ac58afd6c8c
files lisp/startup.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Tue Nov 07 07:44:54 1995 +0000
+++ b/lisp/startup.el	Tue Nov 07 07:47:22 1995 +0000
@@ -301,7 +301,7 @@
 	(and window-setup-hook
 	     (run-hooks 'window-setup-hook))
 	(or menubar-bindings-done
-	    (if (eq window-system 'x)
+	    (if (or (eq window-system 'x) (eq window-system 'win32))
 		(precompute-menubar-bindings)))))))
 
 ;; Precompute the keyboard equivalents in the menu bar items.
@@ -456,7 +456,7 @@
   (if (fboundp 'frame-initialize)
       (frame-initialize))
   ;; If frame was created with a menu bar, set menu-bar-mode on.
-  (if (or (not (eq window-system 'x))
+  (if (or (not (or (eq window-system 'x) (eq window-system 'win32)))
 	  (> (cdr (assq 'menu-bar-lines (frame-parameters))) 0))
       (menu-bar-mode t))
 
@@ -606,7 +606,7 @@
 	     (setq window-setup-hook nil)
 	     ;; Do this now to avoid an annoying delay if the user
 	     ;; clicks the menu bar during the sit-for.
-	     (if (eq window-system 'x)
+	     (if (or (eq window-system 'x) (eq window-system 'win32))
 		 (precompute-menubar-bindings))
 	     (setq menubar-bindings-done t)
 	     (unwind-protect