(set-terminal-coding-system):
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 Aug 1997 20:08:00 +0000 (20:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 Aug 1997 20:08:00 +0000 (20:08 +0000)
Enable for menus whenever not using X.
(set-keyboard-coding-system): Likewise.

lisp/international/mule-cmds.el

index a24575f..e797204 100644 (file)
 
 ;; These are meaningless when running under X.
 (put 'set-terminal-coding-system 'menu-enable
-     '(null window-system))
+     '(not (eq window-system 'x)))
 (put 'set-keyboard-coding-system 'menu-enable
-     '(null window-system))
+     '(not (eq window-system 'x)))
 ;; This is meaningless when the current buffer has no process.
 (put 'set-buffer-process-coding-system 'menu-enable
      '(get-buffer-process (current-buffer)))