Tweak AUCTeX

This commit is contained in:
Gerard Vermeulen 2021-12-11 12:19:35 +01:00
parent 93f9fac6b4
commit 80dbda2308
1 changed files with 5 additions and 1 deletions

View File

@ -592,7 +592,8 @@ below corrects this by advising to override ~TeX-brace-count-line~ with
LaTeX-section-section
LaTeX-section-label))
'(TeX-auto-save t)
'(TeX-parse-self t))
'(TeX-parse-self t)
'(font-latex-fontify-sectioning 1.0))
;; https://emacs.stackexchange.com/questions/17396/indentation-in-square-brackets
(defun my-TeX-brace-count-line ()
"Count number of open/closed braces."
@ -618,6 +619,9 @@ below corrects this by advising to override ~TeX-brace-count-line~ with
(advice-add 'TeX-brace-count-line :override #'my-TeX-brace-count-line))
#+end_src
*** TODO Improve the AUCTeX configuration slowly
[[https://github.com/thisirs/dotemacs/blob/master/lisp/init-auctex.el][AUCTeX setup of an experienced user]]
** Org-mode
*** [[info:org#Activation][Activation (info)]]