"[email protected]" <[email protected]> writes:

Hi Mosè,

> I'm sending style for `acronym.sty' package.  There is a bug: opening a 
> source 
> file which loads `acronym' (I'm sending the example file `acrotest.tex' taken 
> from `acronym' manual) results in the following error:
>   Symbol's function definition is void: LaTeX-add-acronyms
> Moving the line
>   (TeX-auto-add-type "acronym" "LaTeX")
> to `latex.el' seems to fix the bug.  Is this the correct solution?

Can't you just add that to acronym.el?  I've tried the attached version,
and I don't get an error when it's loaded.  The only changes are that
the `TeX-auto-add-type' is before adding the entry to
`LaTeX-auto-regexp-list', and I use `add-to-list' instead of `setq' and
`append', so that loading the acronym.el multiple times won't create
multiple entries in `LaTeX-auto-regexp-list'.

I also added it to Makefile.in so that it gets byte-compiled.  (Maybe
that makes a difference?)

However, even though I get no errors, the completion of existing
acronyms doesn't work.  When I open your acrotest.tex,
(TeX-acronym-list) always returns nil...

Bye,
Tassilo

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

Reply via email to