Append flyspell-mode to LaTeX-mode-hook #654
If run too soon, the user has no opportunity to change +spellcheck-immediately.
This commit is contained in:
parent
d0abe742f9
commit
9e85acec2c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
|||
;; Enable rainbow mode after applying styles to the buffer
|
||||
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
||||
(when (featurep! :feature spellcheck)
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode))
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode :append))
|
||||
;; Use chktex to search for errors in a latex file.
|
||||
(setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 %s")
|
||||
;; Set a custom item indentation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue