Set default ispell-dictionary sooner #630
This makes it easier to change and won't override user's customizations.
This commit is contained in:
parent
3bdb3d4e5d
commit
4b0e3af424
1 changed files with 4 additions and 2 deletions
|
@ -14,6 +14,10 @@
|
|||
;; Plugins
|
||||
;;
|
||||
|
||||
;; Default language setting.
|
||||
(defvar ispell-dictionary "english")
|
||||
|
||||
|
||||
(after! tex
|
||||
;; Set some varibles to fontify common LaTeX commands.
|
||||
(load! "+fontification")
|
||||
|
@ -69,8 +73,6 @@
|
|||
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
||||
(when (featurep! :feature spellcheck)
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode))
|
||||
;; Default language setting.
|
||||
(setq ispell-dictionary "english")
|
||||
;; 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