Commits

aidan  committed 115c2f5

Don't assume the current device is X11 if it's a window system, japan-util.el

  • Participants
  • Parent commits c408682

Comments (0)

Files changed (2)

+2009-09-11  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* japan-util.el (setup-japanese-environment-internal): 
+	Don't check whether the current console--which may be mswindows or
+	something else--provides the X11 keysym `kana_A', rather call
+	#'kana-keyboard-define-keys if we have X11 support at all.
+
 2009-09-02  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.54 released.

File japan-util.el

     (setq default-file-name-coding-system 'euc-jp))
   (setq sentence-end-save sentence-end)
   (setq sentence-end (concat sentence-end "\\|[$B!#!)!*(B]"))
-
-  (when (and (fboundp 'x-keysym-on-keyboard-p)
-	     (console-on-window-system-p)
-	     (x-keysym-on-keyboard-p 'kana_A))
+  (when (memq 'x (device-type-list))
     (kana-keyboard-define-keys)))
 
 (defun exit-japanese-environment ()