50yatex-gentoo.el 488 B

12345678910111213141516
  1. ;; YaTeX-mode
  2. (setq auto-mode-alist
  3. (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
  4. (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
  5. ;; YaHtml-mode
  6. (setq auto-mode-alist
  7. (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
  8. (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
  9. ;; If your Kanji code is EUC-JP, then it is better to add following
  10. ;; lines into .emacs, and it makes file encoding EUC.
  11. (setq YaTeX-kanji-code 3)
  12. (setq yahtml-kanji-code 3)