From d61a38ff71df27c07d91ad0c4fa7fe4143fc638c Mon Sep 17 00:00:00 2001 From: Youmu Date: Sun, 18 Jul 2021 18:36:07 +0800 Subject: [PATCH] spell: fix undefined variable --- modules/checkers/spell/autoload/+flyspell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/checkers/spell/autoload/+flyspell.el b/modules/checkers/spell/autoload/+flyspell.el index e555ebd92..97feb8330 100644 --- a/modules/checkers/spell/autoload/+flyspell.el +++ b/modules/checkers/spell/autoload/+flyspell.el @@ -56,7 +56,7 @@ or session. Otherwise, the addition is permanent." (if (null ispell-pdict-modified-p) (setq ispell-pdict-modified-p (list ispell-pdict-modified-p))) - (if (eq replace 'buffer) + (if (eq scope 'buffer) (ispell-add-per-file-word-list word)))) (ispell-pdict-save t))