aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/flyspell.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index f65ffd0ba5c..0f0394ad4ea 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -895,7 +895,9 @@ Mostly we check word delimiters."
895(defun flyspell-post-command-hook () 895(defun flyspell-post-command-hook ()
896 "The `post-command-hook' used by flyspell to check a word in-the-fly." 896 "The `post-command-hook' used by flyspell to check a word in-the-fly."
897 (interactive) 897 (interactive)
898 (let ((command this-command)) 898 (let ((command this-command)
899 ;; Prevent anything we do from affecting the mark.
900 deactivate-mark)
899 (if (flyspell-check-pre-word-p) 901 (if (flyspell-check-pre-word-p)
900 (save-excursion 902 (save-excursion
901 '(flyspell-debug-signal-pre-word-checked) 903 '(flyspell-debug-signal-pre-word-checked)