mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/latex: fix TeX-latex-mode error
Caused because use-package is creating an autoload for TeX-latex-mode as if it were in the tex package, but it's in the latex package, instead. Since auctex already autoloads TeX-latex-mode, there's no need to set our own.
This commit is contained in:
@ -25,11 +25,12 @@ If no viewers are found, `latex-preview-pane' is used.")
|
|||||||
;;
|
;;
|
||||||
;; Packages
|
;; Packages
|
||||||
|
|
||||||
(def-package! tex
|
(add-to-list 'auto-mode-alist '("\\.tex\\'" . TeX-latex-mode))
|
||||||
:mode ("\\.tex\\'" . TeX-latex-mode)
|
|
||||||
:config
|
|
||||||
(setq TeX-parse-self t ;; parse on load
|
(after! tex
|
||||||
TeX-auto-save t ;; parse on save
|
(setq TeX-parse-self t ; parse on load
|
||||||
|
TeX-auto-save t ; parse on save
|
||||||
;; use hidden dirs for auctex files
|
;; use hidden dirs for auctex files
|
||||||
TeX-auto-local ".auctex-auto"
|
TeX-auto-local ".auctex-auto"
|
||||||
TeX-style-local ".auctex-style"
|
TeX-style-local ".auctex-style"
|
||||||
|
Reference in New Issue
Block a user