From 4856217c840591c3690ebba54891e0549417f0bd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 15 Jun 2018 21:25:32 +0200 Subject: [PATCH] Set default ispell-dictionary Prevents wrong-type-argument stringp errors when starting flyspell-mode. --- 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 a6638c251..ceee1c467 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -8,7 +8,7 @@ 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") +(setq ispell-dictionary "english") (def-package! flyspell ; built-in :defer t