spell: fix undefined variable

This commit is contained in:
Youmu 2021-07-18 18:36:07 +08:00 committed by GitHub
parent 9811756e80
commit d61a38ff71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))