From 4f4495ca2ad28bc7f00a656a2ca56dce61c9c82a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 1 Jun 2018 02:25:38 +0200 Subject: [PATCH] Move ispell-dictionary default to feature/spellcheck #630 Makes more sense to be here. --- modules/feature/spellcheck/config.el | 3 +++ modules/lang/latex/config.el | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/feature/spellcheck/config.el b/modules/feature/spellcheck/config.el index 712877181..435d2c5f0 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -7,6 +7,9 @@ Since spellchecking can be slow in some buffers, this can be disabled with: (setq-hook! 'LaTeX-mode-hook +spellcheck-immediately nil)") +;; `ispell' +(defvar ispell-dictionary "english") + (def-package! flyspell ; built-in :defer t :init diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 8462c0453..750b988af 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -14,10 +14,6 @@ ;; Plugins ;; -;; Default language setting. -(defvar ispell-dictionary "english") - - (after! tex ;; Set some varibles to fontify common LaTeX commands. (load! "+fontification")