*** empty log message ***
[gnus] / lisp / custom.el
index 08d912c..c4e7a4a 100644 (file)
@@ -264,7 +264,8 @@ If called interactively, prompts for a face and face attributes."
 ;; Put it in the Help menu, if possible.
 (if (string-match "XEmacs" emacs-version)
     ;; XEmacs (disabled because it doesn't work)
-    (add-menu-item '("Help") "Customize..." 'customize nil)
+    (and current-menubar
+        (add-menu-item '("Help") "Customize..." 'customize nil))
   ;; Emacs 19.28 and earlier
   (global-set-key [ menu-bar help customize ]
                  '("Customize..." . customize))