From 6175adcd92ea0f04003d6a6cefd3257743d68b2a Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 28 Jan 2008 19:17:26 +0000 Subject: Maths menu works OK in Carbon Emacs --- lib/maths-menu.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/maths-menu.el') 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")) -- cgit v1.2.3