emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex ab3f1770f3 04/25: Add "includegraphics" to `para


From: Tassilo Horn
Subject: [elpa] externals/auctex ab3f1770f3 04/25: Add "includegraphics" to `paragraph-start'
Date: Mon, 8 Jan 2024 07:59:09 -0500 (EST)

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

    Add "includegraphics" to `paragraph-start'
    
    * style/graphicx.el ("graphicx"): Let \includegraphics have its
    own line.
---
 style/graphicx.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/style/graphicx.el b/style/graphicx.el
index d88b720d4d..cf7c8637d1 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -285,6 +285,9 @@ subdirectories and inserts the relative file name.  See
 
     '("DeclareGraphicsRule" 4))
 
+   ;; \includegraphics macro should get its own line
+   (LaTeX-paragraph-commands-add-locally '("includegraphics"))
+
    ;; Fontification
    (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]