branch: externals/auctex
commit d77538b45831f0321767fdf79f91ba89090c0211
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    * style/beamer.el ("beamer"): Improve indentation of \frametitle.
---
 style/beamer.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/style/beamer.el b/style/beamer.el
index 36f15d7..589a26a 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -152,6 +152,9 @@
                        (LaTeX-find-matching-begin)
                        (end-of-line)
                        (LaTeX-newline)
+                       ;; Indent the next macro insertion and don't
+                       ;; rely on the fill-function to do it:
+                       (indent-according-to-mode)
                        (insert (format "\\frametitle{%s}" title))
                        ;; This works because \frametitle is a
                        ;; paragraph command.

Reply via email to