Triet Hoai Lai <thlai(a)mail.usyd.edu.au> writes:
I'm writing a "style" file for AucTeX, but cannot make
it works as advertised in
the AucTeX info ("Adding Macros" node):
There is a mailing list for auctex I believe. You might get better
responses there.
(TeX-add-style-hook "testpkg"
(function
(lambda ()
(TeX-add-symbols
'("testmacro1" '(my-test-function "something"))
'("testmacro2" (list my-test-function "something else"))
It is almost never necessary to quote with in quoted list, so you
would use
(TeX-add-style-hook "testpkg"
(function
(lambda ()
(TeX-add-symbols
'("testmacro1" (my-test-function "something"))
'("testmacro2" (my-test-function "something else"))))))
Jan