summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-05-12 11:12:09 +0000
committerUlrich Müller <ulm@gentoo.org>2008-05-12 11:12:09 +0000
commit5fe5ef4102f50b2c99c15e23288424bee909cf69 (patch)
tree78d4fdcc6cd9acf01e68c7e054a34d5b356a7d76 /app-emacs/yatex/files/50yatex-gentoo.el
parentVersion bump, prerelease eselect-{ctags,emacs}. (diff)
downloademacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.tar.gz
emacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.tar.bz2
emacs-5fe5ef4102f50b2c99c15e23288424bee909cf69.zip
Version bump. Work in progress.
svn path=/emacs-overlay/; revision=1061
Diffstat (limited to 'app-emacs/yatex/files/50yatex-gentoo.el')
-rw-r--r--app-emacs/yatex/files/50yatex-gentoo.el18
1 files changed, 18 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 0000000..2b3b457
--- /dev/null
+++ b/app-emacs/yatex/files/50yatex-gentoo.el
@@ -0,0 +1,18 @@
+
+;;; yatex site-lisp configuration
+
+;; 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)