From 1522335fdbc51082ffd00fa860bfa1ef34dd25da Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Tue, 8 Aug 2023 20:22:48 -0700 Subject: [PATCH] fix: remove automatic indentation in latex Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index 7fdf896..7dd3621 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -11,7 +11,8 @@ (defun configure-latex () "Configure my custom LaTex environment." - (local-set-key (kbd "C-c C-z") #'custom-compile-latex)) + (local-set-key (kbd "C-c C-z") #'custom-compile-latex) + (electric-indent-mode -1)) (add-hook 'LaTeX-mode-hook #'configure-latex)