]> err.no Git - dotfiles/commitdiff
make ������ work properly in xterms as well.
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 16 Nov 2002 23:12:00 +0000 (23:12 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 16 Nov 2002 23:12:00 +0000 (23:12 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@113 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

emacs

diff --git a/emacs b/emacs
index 60073d087ea397f583c2f8f32675c335e4f33c6d..741d9f29ffa913420a17e72d064cb13c745eeb02 100644 (file)
--- a/emacs
+++ b/emacs
@@ -7,11 +7,12 @@
 (setq tfheen-color-preference 'light) ; light or dark
 
 (cw/for-emacs
- (set-language-environment "Latin-1"))
+ (set-language-environment "Latin-1")
+ (if (not window-system) 
+     (set-keyboard-coding-system 'latin-1)))
 
 ;(prefer-coding-system "utf-8")
 
-
 (add-to-list 'Info-default-directory-list (expand-file-name "~/usr/info"))
 
 (add-to-list 'load-path (expand-file-name "~/data/emacs/lisp"))