Hi Uwe,

2014-11-25 15:11 GMT+01:00 Uwe Brauer <o...@mat.ucm.es>:
>
>
> Hello
>
> I used for years the following function
>
> (defun LaTeX-rem-insert (environment)   ;Version:1.20
>   (if (y-or-n-p
>            (format "Do you want a title "))
>           (let ((title (read-input " Title: ")))
>                 (LaTeX-insert-environment "rem" (concat "[" title "]"))
>                 (and (LaTeX-label environment)
>                          (newline-and-indent)))
>     (LaTeX-insert-environment "rem")
>     (and (LaTeX-label environment)
>        (newline-and-indent))))
>
> Which worked till version 11.87, however in 11.88 an error is triggered
> which I attach below.

This is not a bug: `LaTeX-label' now has two arguments, the label to
be inserted and the type, either environment or section, so you have
to replace your call to `LaTeX-label' with
    (LaTeX-label environment 'environment)

Bye,
Mosè



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

Reply via email to