Article View: comp.text.tex
Article #1696How to modify LaTeX-environment-alist of auc-tex
From: Ryou Kondo
Date: Sun, 23 Aug 1992 18:47
Date: Sun, 23 Aug 1992 18:47
19 lines
1222 bytes
1222 bytes
I installed auc-tex a few weeks ago. I tried to add my local
environment to LaTeX-environment-alist as written in the documents.
So I add the following lines to `.emacs'.
(setq LaTeX-mode-hook '(lambda ()
(setq LaTeX-environment-alist
(cons '("myenv" . LaTeX-array-hook) LaTeX-environment-alist))))
But this did not work at all.
LaTeX-mode-hook is called when I open a tex source file. However,
LaTeX-environment does not exist yet. It is created when I first type C-c
C-c to enter a environment and `ltx-env.el' is autoloaded.
Are there any way to solve this problem without giving up auto-loading?
Ryou Kondo (kondo@mech.ibaraki.ac.jp)
--
$@6aF#(J $@NI(J Email: kondo@mech.ibaraki.ac.jp : $@0q>kBg3X5!3#9)3X2J(J
Technical Details
Message-ID:
<KONDO.92Aug23184725@kurenai.mech.ibaraki.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!hitwide!hinocgw!hrlgw92!hrlgw!ibjgw!mech.ibaraki.ac.jp!kondoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!hitwide!hinocgw!hrlgw92!hrlgw!ibjgw!mech.ibaraki.ac.jp!kondo From: kondo@mech.ibaraki.ac.jp (Ryou Kondo) Newsgroups: comp.text.tex Subject: How to modify LaTeX-environment-alist of auc-tex Keywords: auc-tex Message-ID: <KONDO.92Aug23184725@kurenai.mech.ibaraki.ac.jp> Date: 23 Aug 92 18:47:25 GMT Sender: kondo@mech.ibaraki.ac.jp Distribution: comp Organization: Dept. of Mechanical Eng., Ibaraki University Lines: 19