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:
parent
1610cd32b2
commit
5e96b42ccc
1 changed files with 6 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue