branch: externals/guess-language
commit 6014777758e2150707e788cccbc8922a0353c7dd
Author: Titus von der Malsburg <[email protected]>
Commit: Titus von der Malsburg <[email protected]>

    Make sure we’re not messing with other buffers.
---
 guess-language.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guess-language.el b/guess-language.el
index 0367498..b623d7e 100644
--- a/guess-language.el
+++ b/guess-language.el
@@ -124,6 +124,8 @@ current paragraph."
 (setq flyspell-issue-welcome-flag nil)
 (setq flyspell-issue-message-flag nil)
 
+(make-variable-buffer-local 'flyspell-incorrect-hook)
+
 (define-minor-mode guess-language-mode
   "Toggle guess-language mode.
 Interactively with no argument, this command toggles the mode.

Reply via email to