Mercurial > emacs
changeset 21579:b26c7c2891b4
(global-map [menu-bar mule]):
Conditionalize on default-enable-multibyte-characters.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 16 Apr 1998 06:00:49 +0000 |
parents | 6175866e1b71 |
children | 061d5d4f7967 |
files | lisp/international/mule-cmds.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el Thu Apr 16 05:40:48 1998 +0000 +++ b/lisp/international/mule-cmds.el Thu Apr 16 06:00:49 1998 +0000 @@ -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))