Hi Carlos,

2014-02-16 10:25 GMT+01:00 Carlos <linguafa...@gmail.com>:
> Mosè:
>
> Do you see the line (TeX-add-to-alist 'LaTeX-provided-package-options ? in
>
> +(defun LaTeX-arg-usepackage-insert (packages options)
> +  "Actually insert arguments to usepackage."
> +  (unless (zerop (length options))
> +    (let ((opts (LaTeX-listify-package-options options)))
> +      (mapc (lambda (elt)
> +             (TeX-add-to-alist 'LaTeX-provided-package-options
> +                               (list (cons elt opts))))
> +           packages))
> +    (insert LaTeX-optop options LaTeX-optcl))
> +  (insert TeX-grop (mapconcat 'identity packages ",") TeX-grcl)
> +  (run-hooks 'LaTeX-after-usepackage-hook))
>
> Well, long story short, every time I would try to insert the options for
> the package, say for example, for the inputenc package, like utf8,
> utf8x, etc., it would throw a "symbol's definition is void " error.

As far as I can tell, you're using AUCTeX 11.87, but my patches are
against the git version in which there have been many changes,
including new functions and variables ;-)

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to