From ef6675c8e0f3a521d630cfa2866a3412acb26c78 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 16 Apr 1998 06:00:49 +0000 Subject: [PATCH] (global-map [menu-bar mule]): Conditionalize on default-enable-multibyte-characters. --- lisp/international/mule-cmds.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 8f0eac97663..94a2b4f9d12 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -50,7 +50,9 @@ (defvar mule-menu-keymap (make-sparse-keymap "Mule") "Keymap for MULE (Multilingual environment) menu specific commands.") -(define-key global-map [menu-bar mule] (cons "Mule" mule-menu-keymap)) +(define-key global-map [menu-bar mule] + `(menu-item "Mule" ,mule-menu-keymap + :visible default-enable-multibyte-characters)) (setq menu-bar-final-items (cons 'mule menu-bar-final-items)) -- 2.39.2