diff lisp/startup.el @ 811:7778a469a8ac

[xemacs-hg @ 2002-04-07 19:36:13 by wmperry] Fix menubar-less builds.
author wmperry
date Sun, 07 Apr 2002 19:36:14 +0000
parents e38acbeb1cae
children 42375619fa45
line wrap: on
line diff
--- a/lisp/startup.el	Sun Apr 07 17:10:50 2002 +0000
+++ b/lisp/startup.el	Sun Apr 07 19:36:14 2002 +0000
@@ -718,7 +718,8 @@
     ;; Actually using hooks within Emacs is bad for future maintenance. --rms.
     ;;
     ;; In this case, I completely agree. --ben
-    (init-menubar-at-startup)
+    (if (featurep 'menubar)
+	(init-menubar-at-startup))
     ;; perhaps this should go earlier in the proecess?
     (if (featurep 'mule)
 	(declare-fboundp (init-mule-at-startup)))