summaryrefslogtreecommitdiff
path: root/app-emacs/yatex/files/50yatex-gentoo.el
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/yatex/files/50yatex-gentoo.el
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/yatex/files/50yatex-gentoo.el')
-rw-r--r--app-emacs/yatex/files/50yatex-gentoo.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el
new file mode 100644
index 000000000000..c57be338abeb
--- /dev/null
+++ b/app-emacs/yatex/files/50yatex-gentoo.el
@@ -0,0 +1,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)