From 5772ace0fff7528c84173d78403a60c4dd6a631c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 2 Aug 2018 16:46:04 +0200 Subject: [PATCH] Update +spellcheck-immediately docstring It won't work on LaTeX-mode-hook because flyspell-mode is added to TeX-mode-hook, which runs before the former. --- modules/feature/spellcheck/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/feature/spellcheck/config.el b/modules/feature/spellcheck/config.el index bf04c03f3..dce736c5f 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -5,7 +5,7 @@ Since spellchecking can be slow in some buffers, this can be disabled with: - (setq-hook! 'LaTeX-mode-hook +spellcheck-immediately nil)") + (setq-hook! 'TeX-mode-hook +spellcheck-immediately nil)") ;; `ispell' (setq ispell-dictionary "english"