]> git.eshelyaron.com Git - emacs.git/commitdiff
Update some menu definitions for Android
authorPo Lu <luangruo@yahoo.com>
Thu, 20 Jul 2023 11:58:32 +0000 (19:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 20 Jul 2023 11:58:32 +0000 (19:58 +0800)
* lisp/international/mule-cmds.el (set-coding-system-map): Don't
display `set-terminal-coding-system' on Android.

lisp/international/mule-cmds.el

index 3d6d66970d389fd75e6faa07ecb3571b599f90b8..e3811d81ec2d7e3b3e2863c3126554f5464f19fc 100644 (file)
@@ -88,7 +88,8 @@
     (bindings--define-key map [separator-3] menu-bar-separator)
     (bindings--define-key map [set-terminal-coding-system]
       '(menu-item "For Terminal" set-terminal-coding-system
-        :enable (null (memq initial-window-system '(x w32 ns haiku pgtk)))
+        :enable (null (memq initial-window-system '(x w32 ns haiku pgtk
+                                                   android)))
         :help "How to encode terminal output"))
     (bindings--define-key map [set-keyboard-coding-system]
       '(menu-item "For Keyboard" set-keyboard-coding-system