.emacs-my
changeset 769 5ed69391dc95
parent 768 4af9b5e3ac15
child 770 46bae88a2832
--- a/.emacs-my	Sun Nov 06 00:40:26 2011 +0200
+++ b/.emacs-my	Sun Nov 06 01:03:16 2011 +0200
@@ -667,6 +667,13 @@
   (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
   (modify-coding-system-alist 'process ".*" 'utf-8-unix)
   )
+ ((eq system-type 'cygwin)
+  (when (string-match "1251\\'" (getenv "LANG"))
+    (prefer-coding-system 'cp1251-unix)
+    (prefer-coding-system 'utf-8-unix)
+    (modify-coding-system-alist 'process ".*" 'cp1251-unix)
+    )
+  )
  ((eq system-type 'darwin)
   nil
   )