aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/maths-menu.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/maths-menu.el b/lib/maths-menu.el
index 9e308faa..365a790a 100644
--- a/lib/maths-menu.el
+++ b/lib/maths-menu.el
@@ -316,9 +316,11 @@
:help "Menu of maths characters to insert"))
map))
-;; Unless we have Gtk menus, we probably can't display the maths
+;; Unless we have Gtk/Carbon menus, we probably can't display the maths
;; correctly in the menu bar.
-(unless (string-match "--with-gtk" system-configuration-options)
+(unless
+ (or (string-match "--with-gtk" system-configuration-options)
+ (string-match "--with-carbon" system-configuration-options))
(define-key-after maths-menu-menu [warnl] '(menu-item "--"))
(define-key-after maths-menu-menu [warn1]
'(menu-item "NB. This Emacs displays"))