summaryrefslogtreecommitdiff
blob: c57be338abebf9fcfdf415e0ca9f226dedb42062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; YaTeX-mode
(setq auto-mode-alist
      (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)

;; YaHtml-mode
(setq auto-mode-alist
      (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)

;; If your Kanji code is EUC-JP, then it is better to add following
;; lines into .emacs, and it makes file encoding EUC.

(setq YaTeX-kanji-code 3)
(setq yahtml-kanji-code 3)