# HG changeset patch # User Oleksandr Gavenko # Date 1256808707 -7200 # Node ID 8b4811c64ec4f407a0f573604d684c5f4034778d # Parent abe708ccf6e56641a0853b66eb5912ce29ca76d0 Correct copy/paste coding in windows. diff -r abe708ccf6e5 -r 8b4811c64ec4 .emacs-my --- a/.emacs-my Wed Oct 28 00:38:15 2009 +0200 +++ b/.emacs-my Thu Oct 29 11:31:47 2009 +0200 @@ -251,10 +251,10 @@ (prefer-coding-system 'cp866-dos) (modify-coding-system-alist 'file "\\.el" 'iso-2022-7bit) -(cond +(cond ((equal window-system 'w32) ; also (string-equal system-type "windows-nt") (progn - (set-selection-coding-system 'cp1251) + (set-selection-coding-system 'utf-16le-dos) (prefer-coding-system 'utf-8-unix) (prefer-coding-system 'cp1251-dos) ))