Tassilo Horn <[email protected]> writes:

> I've now implemented a better approach.  Style file authors can now
> mark macros and environments as expert commands using
>
>   (TeX-declare-expert-macros
>     '("command1" . "mystyle")
>     '("command2" . "mystyle")
>     ...)
>   (LaTeX-declare-expert-environments
>     '("env1"     . "mystyle")
>     '("env1"     . "mystyle")
>     ...)

I must have been stoned to come up with that inconvenient interface.
Now these two functions are used like this,

  (TeX-declare-expert-macros "mystyle" "macro1" "macro2" ...)
  (LaTeX-declare-expert-environments "mystyle" "env1" "env2" ...)

e.g., first comes the style declaring them, the &rest is a sequence of
macro or environment names.

Bye,
Tassilo

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

Reply via email to