Rasmus <[email protected]> writes:
> Nicolas Goaziou <[email protected]> writes:
>> I suggest to use something like this instead:
>>
>> (mapconcat (lambda (option) (if (equal "AUTO" option) language option))
>> (cond ((member language options) (delete "AUTO" options))
>> ((member "AUTO" options) options)
>> (t (append options (list language)))))
>>
>
> It looks more elegant. I'll try to incorporate it and prepare a v4.
OK. But I forgot to add "," as mapconcat's third argument.
>> Why do you need to use a non-nil FIXEDCASE argument here?
>
> When I don't
>
> #+LANGUAGE: en
> #+LATEX_HEADER: \usepackage[AUTO]{babel}
>
> becomes
>
> \usepackage[ENGLISH]{babel}. . .
Good point.
Regards,
--
Nicolas Goaziou