summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-07-06 10:11:22 +0200
committerrekado <rekado@elephly.net>2016-07-06 10:11:22 +0200
commit8ed714d383567d98bc6818f1253291ea633474cf (patch)
tree6c51b423013612d32157a87af4b214f2afb2b4e7 /init.el
parent5d59eedb6565d95e0fcad7acefee3314b60691cd (diff)
Set LC_CTYPE to Chinese to make IBus Pinyin work.
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9669394..340ee8f 100644
--- a/init.el
+++ b/init.el
@@ -1,6 +1,9 @@
;; No splash screen please ...
(setq inhibit-startup-message t)
+;; FIXME: This is needed to be able to use IBus Pinyin with Emacs
+(setenv "LC_CTYPE" "zh_CN.utf8")
+
;; display tool tips in echo area only
(tooltip-mode -1)
(setq tooltip-use-echo-area t)