Ralf Angeli wrote:
* Roger Levy (2008-01-22) writes:

If you really want to manually put some code which you might not
understand into your init file, then use something like the following
(not tested):

(add-to-list 'LaTeX-font-list '(?\C-p "\\textipa{" "}"))
At any rate, the snippet above doesn't turn out to work (I'm guessing that emacs doesn't know about LaTeX-font-list until a LaTeX document has actually been opened?), so I'll stick with the user-friendly customization for now.

Oh, sorry, I didn't think about that.  You will have to wrap into
`eval-after-load':

(eval-after-load "latex"
  '(add-to-list 'LaTeX-font-list '(?\C-p "\\textipa{" "}")))

Terrific -- this works!

I personally *do* find having this snippet in my init file preferable to doing the customization through the menus. So thanks again.

Best

Roger

--

Roger Levy                      Email: [EMAIL PROTECTED]
Assistant Professor             Phone: 858-534-7219
Department of Linguistics       Fax:   858-534-4789
UC San Diego                    Web:   http://ling.ucsd.edu/~rlevy


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to