aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mule-common/files/site-start.el.tmpl
blob: 3841abb1306619ef11eba317e0f5a9c3398d0e87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;; BEGIN mule-family
;;
;; Chinese
;;(load "its/erpin")
;;(load "its/zhuyin")
;;(load "its/quanjiao")
;;(set-primary-environment 'chinese);;CHINESE

;; Korean
;;(if (boundp 'WNN);;KOREAN
;;    (load "its/Korean"));;KOREAN
;;(set-primary-environment 'korean);;KOREAN

;; Japanese
;;(set-primary-environment 'japanese);;JAPANESE

;; For languages except Korean (kr-mule-wnn)
(defun set-korean-environment ()
  (setq *coding-category-iso-8-2* '*euc-korea*)

  (set-coding-priority
   '(*coding-category-iso-8-2*
     *coding-category-iso-8-1*))

  (set-default-file-coding-system '*iso-2022-kr*)

  (if (boundp 'WNN)
      (progn
;;  (load "its/Korean");;not KOREAN
    (set-default-wnn-environment 'kserver)))

  (setq-default quail-current-package (assoc "hangul" quail-package-alist))
  )

(setq Info-default-directory-list
      (append (list
           "%%LOCALBASE%%/share/mule/19.34/info"
           "%%X11BASE%%/info"
           "/usr/share/info"
           ) Info-default-directory-list)) 

;; END mule-family