Thibaut Verron <[email protected]> writes:

> On 25/08/2021 16:52, Arash Esbati wrote:
>>
>> Hence, you have to turn that mode on in order to get the old
>> behaviour with something like this in your init file:
>>
>>      (add-hook 'LaTeX-mode-hook #'turn-on-auto-fill)
>
> With the side effect of enabling auto-fill.

True.

> If you don't want auto-fill, a less intrusive but somewhat more
> hazardous alternative could be:
>
> (add-hook 'LaTeX-mode-hook (lambda () (setq auto-fill-function 
> 'indent-according-to-mode)))

I agree, this option is ``somewhat more hazardous''.  I think I've fixed
this issue by adding (indent-according-to-mode) before inserting
\frametitle in beamer.el[1].

Comment welcome.

Best, Arash

Footnotes:
[1]  
http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=d77538b45831f0321767fdf79f91ba89090c0211

Reply via email to