This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  d77538b45831f0321767fdf79f91ba89090c0211 (commit)
      from  f65722e660e53602c5465e903754fba81bd5c755 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d77538b45831f0321767fdf79f91ba89090c0211
Author: Arash Esbati <[email protected]>
Date:   Thu Aug 26 13:43:21 2021 +0200

    * style/beamer.el ("beamer"): Improve indentation of \frametitle.

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.

-----------------------------------------------------------------------

Summary of changes:
 style/beamer.el | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to