Hi Mosè,
> So just replacing "funcall" with "call-interactively" would make it
> work with `electric-indentation-mode' out-of-the-box?
Yeah. At least in 24.5+, the interactive argument to `newline` causes
the electric indentation (specifically it calls
`post-self-insert-hook` which does it).
Apparently in 24.1 `newline` did this interactively or not, but now
it's interactive-only.
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel