From 081ff0c9bc4ea8668f795dc86d6f1549df132cf5 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 23 Oct 2006 13:59:44 +0000 Subject: [PATCH] * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last fix. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/flyspell.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2fc449aea2d..606713efeaa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-10-22 martin rudalics + + * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last + fix. + 2006-10-23 Nick Roberts * bindings.el (mode-line-mode-menu): List global minor modes diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index e452716d83d..b24124851de 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -1475,7 +1475,7 @@ The buffer to mark them in is `flyspell-large-region-buffer'." (flyspell-word) ; Make sure current word is checked (backward-word 1) (while (and (< (point) end) - (re-search-forward "\\(\\w+\\)\\s-+\\1\\>" + (re-search-forward "\\<\\(\\w+\\)\\>[ \n\t\f]+\\1\\>" end 'move)) (flyspell-word) (backward-word 1)) -- 2.39.2