aboutsummaryrefslogtreecommitdiffstats
path: root/emacs.rc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-10 13:38:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-10 13:38:41 -0700
commit2dddd4f970e9dd7aa415ec6b4f646273c5c92211 (patch)
treec1913383a5c58714ac0b98ba25188f7466ed8e6d /emacs.rc
parent1d0cfd02760c39c0c1ae0790d69391f29e19271e (diff)
downloaduemacs-2dddd4f970e9dd7aa415ec6b4f646273c5c92211.tar.gz
Show lines with a single helper function, not one byte at a time
Let's see how hard it is to show UTF-8 characters properly. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'emacs.rc')
-rw-r--r--emacs.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.rc b/emacs.rc
index 06c0f12..6f99f7b 100644
--- a/emacs.rc
+++ b/emacs.rc
@@ -286,4 +286,9 @@ bind-to-key newline ^J
add-global-mode "utf-8"
!endif
+!if &gre &sin $LANG "utf8" 0
+ add-global-mode "utf-8"
+!endif
+add-global-mode "utf-8"
+
set $discmd "TRUE"