Skip to content

Commit

Permalink
Put magic-latex-buffer in TeX-update-style-hook instead of LaTeX-mode…
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkramer committed Sep 26, 2018
1 parent 9865e77 commit e2716e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+lang/latex/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
:defer t
:init
(progn
(add-hook 'LaTeX-mode-hook 'magic-latex-buffer)
(add-hook 'TeX-update-style-hook 'magic-latex-buffer)
(setq magic-latex-enable-block-highlight t
magic-latex-enable-suscript t
magic-latex-enable-pretty-symbols t
Expand Down

0 comments on commit e2716e2

Please sign in to comment.